Properties
animationFrame
animationFrame: undefined | number
canvas
canvas: HTMLCanvasElement
deltaTime
deltaTime: number
deltaTimeArray
deltaTimeArray: number[]
isInFullscreen
isInFullscreen: boolean
isLoaded
isLoaded: boolean
isRendering
isRendering: boolean
Readonly oldHeight
oldHeight: number
Protected oldTime
oldTime: number
Readonly oldWidth
oldWidth: number
scenes
scenes: { add: any; remove: any }
Type declaration
add:function
- add(scenes: Scene[]): void
remove:function
- remove(scene: Scene): void
smoothDeltaTime
smoothDeltaTime: number
splashScreen
splashScreen: string
Creates a DuckEngine Game
The Game Class. Stores many important methods and properties.
1.0.0-beta