Class cc.Scene
- Defined in: CCScene.js
- Extends cc.Node
Constructor Attributes | Constructor Name and Description |
---|---|
cc.Scene()
cc.Scene is a subclass of cc.Node that is used only as an abstract concept. |
Method Summary
Class Detail
cc.Scene()
cc.Scene is a subclass of cc.Node that is used only as an abstract concept.
cc.Scene an cc.Node are almost identical with the difference that cc.Scene has it's anchor point (by default) at the center of the screen.
For the moment cc.Scene has no other logic than that, but in future releases it might have additional logic.
It is a good practice to use and cc.Scene as the parent of all your nodes.