Application

new Application()

The main class of the engine. Inherit from this class to create your own game.

Properties
NameTypeDescription
widthnumber

The width of the canvas.

heightnumber

The height of the canvas.

fpsnumber

The fps of the game.

clearColorColor

The color to clear the canvas with.

deltaTimenumber

The time passed since the last frame.