Gets the singleton object instance.
Engine
Cleansup the engine.
void
Loads the assets given at engine instantiation.
void
Main game loop. This calls all necessary update functions. // REVIEW: Updated the engine to use FPS controlled loops
void
Engine message handler.
void
Resizes the WebGL canvas.
void
Shutsdown the engine. Called on exit.
void
Updates the engine and the current zone.
void
Exits from the engine.
void
Plays the engine. Can be called after stop.
void
Starts the engine and begins playing right away. Given in a destructured format.
void
Stops the engine from running. No updates will be performed, must be handled by external Javascript or handlers.
void
Generated using TypeDoc
Class constructor.