Map of scenes by name.
The shared ticker driving updates.
Logical viewport width.
Logical viewport height.
Whether the game has been started.
Always resolves the first ever renderer registered.
Center X of the viewport (width / 2).
Center Y of the viewport (height / 2).
Thenable tick-based timeout system
milliseconds to wait, zero can be provided for next tick.
a thenable.
Starts the game: starts all attached renderers and the ticker.
Stops the game: stops all attached renderers and the ticker.
Attaches a renderer to the game.
If the game is already started, the renderer is started immediately.
The renderer to attach
Detaches a renderer from the game.
If the game is running, the renderer is stopped.
The renderer to detach
Current time in milliseconds (from ticker).
Game instance that coordinates scenes, renderers, and the shared ticker.