_DOMManager
Extends:
Manages the connection between the DOM and the Game & Engine.
The DOMManager sets up and holds reference to the DOM elements required to display the game.
Constructor Summary
Public Constructor | ||
public |
Initializes defaults for the DOMManager to hold once started. |
Method Summary
Public Methods | ||
public |
adjust() |
|
public |
Loads the canvas & sets up a WebGL2 context to be used by the engine by the id 'game'. |
|
public |
start() Loads the canvas & setup for WebGL. |
Inherited Summary
From class Manager | ||
public |
end() |
|
public |
pause() |
|
public |
start() |
|
public |
unpause() |
|
public |
update() |
Public Constructors
public constructor() source
Initializes defaults for the DOMManager to hold once started.