sorry for the noob question...
is possible in Gideros/LUA ?
having
mySprite = Core.class(Sprite)
extending original Sprite:setScale with my version ?
------------------
function mySprite:setScale()
-- how to call super ?
-- do something....
end
------------------
so mySprite:SetScale() need to call original setScale and then execute my code ...
? :-?
TNT ENGiNE for Gideors Studio - Particle Engine, Virtual Pad, Animator Studio, Collision Engine - DOWNLOAD NOW !!! IT'S FREE!!! -
www.tntengine.com
Comments
i'm still learning Lua...
www.tntengine.com
Likes: gorkem
yes but now i'm exploring new advanced topics
www.tntengine.com
)