Scene manager.
Name | Type | Description |
---|---|---|
game |
Core.Game | the game object |
Methods
-
creates a scene
Name Type Description sceneName
String scene name Returns:
Type Description Boolean true if created; false otherwise -
deltes scene by name
Name Type Description sceneName
String the scene name for deletetion Returns:
Type Description Boolean true if deleted; false otherwise. -
getCurrentScene ()Scene.Scene
-
gets the current scene
Returns:
Type Description Scene.Scene the current scene -
render scene manager (current scene)
Returns:
Type Description Boolean scene's render return value -
sets current scene
Name Type Description scene
Scene.Scene a scene to set Returns:
Type Description Boolean true if was set; false otherwise. -
update scene manager (current scene)
Returns:
Type Description Boolean scene's update return value