Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Lua OOP/Gideros ... question ... — Gideros Forum

Lua OOP/Gideros ... question ...

GregBUGGregBUG Guru
edited September 2012 in General questions
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

Sign In or Register to comment.