new Application()
The main class of the engine. Inherit from this class to create your own game.
Name | Type | Description |
---|---|---|
width | number | The width of the canvas. |
height | number | The height of the canvas. |
fps | number | The fps of the game. |
clearColor | Color | The color to clear the canvas with. |
deltaTime | number | The time passed since the last frame. |
- Source