refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-08-28 14:41:19 +02:00
parent c07c3dad6f
commit 60d4fc85b3
10 changed files with 74 additions and 66 deletions
+1
View File
@@ -50,6 +50,7 @@ do
end
}
public.color.get = color_accessor(function(color)
log'kek'
local r, g, b, a = unpack(color)
return setmetatable({r/255, g/255, b/255, a}, mt)
end)