Used internally by the renderer to render the scene.
The renderer's context, automatically passed in.
Used internally to update the scene and its game objects.
Called when the scene is created.
You can set your game objects (UI, characters, music, etc) from here.
Get an value from the map.
The name of the value to get.
The value, or null if the value does not exist in the map.
Get an array containing all the values of the map.
Remove an value from the map.
The value's name to be removed from the map.
True if the value was removed, false if the value was not found.
Clear the map by removing all the keys and values that it stores.
Add or update an value.
The name of the value to set.
The value to set for this value.
Run every frame to update the scene.
This is useful when you want an update to run as long as your scene is
being rendered, independently from the game objects it contains.
Generated using TypeDoc
A scene contains all the game objects in a specific "screen" of your game.
For example, you may have a "MainScreen" scene that will contain everything that is in the main screen of your game.
You could then have a "Level1" scene that will contain the level 1 of you game. etc.