It looks like you're new here. If you want to get involved, click one of these buttons!
gmarinov
Member
a = Core.class(Sprite) function a:init() print ("init a") end b = Core.class(a) function b:init() print("init b") end local aa = a.new() -- should print "init a" local bb = b.new() -- should print "init b"? |
init a init a init b |
Likes: devfuji
Comments
this does work, thank you very much!
I've never seen postInit() in the documentation??
Glad it helped
Probably @ar2rsawseen could give us a directly link to the documentation covering that aspect so the discussion can be the definitive source of informations on that topic.