Create a Game.
The width of the game.
The height of the game.
The HTML parent element for the game's canvas.
The parent element of the game.
The height of the game.
The scene currently being rendered.
The width of the game.
Used internally to start the game.
Called when the game is ready to run, just before it starts.
You can set a scene and access the loaded assets safely from here.
Called when the game is launched.
Useful for assets loading.
Called before rendering a frame.
You can specify things to run every frame as long as your game is running.
Generated using TypeDoc
The base class of any game.