add SetSize as an alias for setsize
This commit is contained in:
@@ -7,4 +7,8 @@ wouldn't otherwise belong somewhere else.
|
||||
-- in fact, this probably belongs in Sprite.lua...
|
||||
function Sprite:cropto(w,h)
|
||||
self:CropTo(w,h);
|
||||
end;
|
||||
|
||||
function Actor:SetSize(w,h)
|
||||
self:setsize(w,h);
|
||||
end;
|
||||
Reference in New Issue
Block a user