add SetSize as an alias for setsize

This commit is contained in:
AJ Kelly
2010-05-17 13:28:47 -05:00
parent 2772facb71
commit 4afca75666
+4
View File
@@ -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;