add new skeleton:get_color, skeleton:set_color overloads

This commit is contained in:
MihailRis 2026-09-16 23:40:41 +03:00
parent f5f17b7746
commit ad22763a1f
2 changed files with 19 additions and 5 deletions

View file

@ -58,8 +58,8 @@ local Skeleton = {__index={
index=function(self, s) return __skeleton.index(self.eid, s) end,
is_visible=function(self, i) return __skeleton.is_visible(self.eid, i) end,
set_visible=function(self, i, b) return __skeleton.set_visible(self.eid, i, b) end,
get_color=function(self) return __skeleton.get_color(self.eid) end,
set_color=function(self, color) return __skeleton.set_color(self.eid, color) end,
get_color=function(self, ...) return __skeleton.get_color(self.eid, ...) end,
set_color=function(self, color, ...) return __skeleton.set_color(self.eid, color, ...) end,
set_interpolated=function(self, b) return __skeleton.set_interpolated(self.eid, b) end,
}}