Is there some kind of rule that says you can't add object to the world right away or something, because I do this:
And it doesn't work, it should be pretty simple but wtf. I get an AlchemyExit for it.
Code:
_myWorld = new World();
addChild(_myWorld);
_player = new Player(); //Player extends shapes.Box
_myWorld.addChild(_player);
addChild(_myWorld);
_player = new Player(); //Player extends shapes.Box
_myWorld.addChild(_player);
And it doesn't work, it should be pretty simple but wtf. I get an AlchemyExit for it.