enbling depth testing did not impact perf in a bad way finally.
enbling depth testing did not impact perf in a bad way finally.
removed update method from displayObject. DisplayObject are for display and should'n have logic in them. Later the engine will be separated into several system and thread and having each class doing it's only purpose will help a lot.
changed version: removing update from display object will create incompatibility. user now have to update manually each game object.
Changes on DisplayObject

DisplayObject : added a control in __addedToStage to avoid from being
held by 2 parents.
DisplayObjectContainer : moved the setting of DisplayObject.parent after
calling __addedToStage to prevent from conflicts.
Changes on DisplayObject/Container

Fix some issues from previous commit.
Merge pull request #38 from Ynk33/dev

Changes on DisplayObject