Just wondering if there is a way to make a class belong to a scene
Currently I do ...
Player = Core.class(Sprite)
function Player:init(x, y)
self.sprite = Bitmap.new(atlas:getTextureRegion("player.png"))
What I'm wondering if there is something like ...
Scene1:Player = Core.class(Sprite)
... and what the correct syntax would be.
Thanks heaps in advance!