Interface SceneManagerStatic
Properties
_accumulator
_accumulator: number
_boxHeight
_boxHeight: number
_boxWidth
_boxWidth: number
_currentTime
_currentTime: number
_deltaTime
_deltaTime: number
_exiting
_exiting: boolean
_previousClass
_previousClass: function
_sceneStarted
_sceneStarted: boolean
_screenHeight
_screenHeight: number
_screenWidth
_screenWidth: number
_stack
_stack: Array<function>
_stopped
_stopped: boolean
Methods
catchException
- catchException(e: Event): void
checkPluginErrors
- checkPluginErrors(): void
goto
- goto(sceneClass: function): void
isCurrentSceneBusy
- isCurrentSceneBusy(): boolean
isCurrentSceneStarted
- isCurrentSceneStarted(): boolean
isNextScene
- isNextScene(sceneClass: function): boolean
-
Parameters
Returns boolean
isPreviousScene
- isPreviousScene(sceneClass: function): boolean
-
Parameters
Returns boolean
isSceneChanging
- isSceneChanging(): boolean
onKeyDown
- onKeyDown(event: KeyboardEvent): void
preferableRendererType
- preferableRendererType(): string
push
- push(sceneClass: function): void
run
- run(sceneClass: function): void
setupErrorHandlers
- setupErrorHandlers(): void
shouldUseCanvasRenderer
- shouldUseCanvasRenderer(): boolean
snapForBackground
- snapForBackground(): void
updateManagers
- updateManagers(ticks: number, delta: number): void
-
Parameters
-
ticks: number
-
delta: number
Returns void