SceneManager.d overview
Table of contents
- utils
- SceneConstructor (type alias)
- SceneManager (class)
- run (static method)
- initialize (static method)
- checkBrowser (static method)
- checkPluginErrors (static method)
- initGraphics (static method)
- initAudio (static method)
- initVideo (static method)
- initInput (static method)
- setupEventHandlers (static method)
- update (static method)
- determineRepeatNumber (static method)
- terminate (static method)
- onError (static method)
- onReject (static method)
- onUnload (static method)
- onKeyDown (static method)
- reloadGame (static method)
- showDevTools (static method)
- catchException (static method)
- catchNormalError (static method)
- catchLoadError (static method)
- catchUnknownError (static method)
- updateMain (static method)
- updateFrameCount (static method)
- updateInputData (static method)
- updateEffekseer (static method)
- changeScene (static method)
- updateScene (static method)
- isGameActive (static method)
- onSceneTerminate (static method)
- onSceneCreate (static method)
- onBeforeSceneStart (static method)
- onSceneStart (static method)
- isSceneChanging (static method)
- isCurrentSceneBusy (static method)
- isNextScene (static method)
- isPreviousScene (static method)
- goto (static method)
- push (static method)
- pop (static method)
- exit (static method)
- clearStack (static method)
- stop (static method)
- prepareNextScene (static method)
- snap (static method)
- snapForBackground (static method)
- backgroundBitmap (static method)
- resume (static method)
utils
SceneConstructor (type alias)
Signature
export declare type SceneConstructor = new () => Scene_Base
SceneManager (class)
SceneManager
The static class that manages scene transitions.
Signature
export declare class SceneManager {
constructor()
}
run (static method)
Signature
static run(sceneClass: SceneConstructor): void
initialize (static method)
Signature
static initialize(): void
checkBrowser (static method)
Signature
static checkBrowser(): void
checkPluginErrors (static method)
Signature
static checkPluginErrors(): void
initGraphics (static method)
Signature
static initGraphics(): void
initAudio (static method)
Signature
static initAudio(): void
initVideo (static method)
Signature
static initVideo(): void
initInput (static method)
Signature
static initInput(): void
setupEventHandlers (static method)
Signature
static setupEventHandlers(): void
update (static method)
Signature
static update(deltaTime: number): void
determineRepeatNumber (static method)
Signature
static determineRepeatNumber(deltaTime: number): number
terminate (static method)
Signature
static terminate(): void
onError (static method)
Signature
static onError(event: ErrorEvent): void
onReject (static method)
Signature
static onReject(event: PromiseRejectionEvent): void
onUnload (static method)
Signature
static onUnload(): void
onKeyDown (static method)
Signature
static onKeyDown(event: KeyboardEvent): void
reloadGame (static method)
Signature
static reloadGame(): void
showDevTools (static method)
Signature
static showDevTools(): void
catchException (static method)
Signature
static catchException(e: unknown): void
catchNormalError (static method)
Signature
static catchNormalError(e: Error): void
catchLoadError (static method)
Signature
static catchLoadError(e: ["LoadError", string, () => void]): void
catchUnknownError (static method)
Signature
static catchUnknownError(e: unknown): void
updateMain (static method)
Signature
static updateMain(): void
updateFrameCount (static method)
Signature
static updateFrameCount(): void
updateInputData (static method)
Signature
static updateInputData(): void
updateEffekseer (static method)
Signature
static updateEffekseer(): void
changeScene (static method)
Signature
static changeScene(): void
updateScene (static method)
Signature
static updateScene(): void
isGameActive (static method)
Signature
static isGameActive(): boolean
onSceneTerminate (static method)
Signature
static onSceneTerminate(): void
onSceneCreate (static method)
Signature
static onSceneCreate(): void
onBeforeSceneStart (static method)
Signature
static onBeforeSceneStart(): void
onSceneStart (static method)
Signature
static onSceneStart(): void
isSceneChanging (static method)
Signature
static isSceneChanging(): boolean
isCurrentSceneBusy (static method)
Signature
static isCurrentSceneBusy(): boolean | null
isNextScene (static method)
Signature
static isNextScene(sceneClass: SceneConstructor): boolean | null
isPreviousScene (static method)
Signature
static isPreviousScene(sceneClass: SceneConstructor): boolean
goto (static method)
Signature
static goto(sceneClass: SceneConstructor | null): void
push (static method)
Signature
static push(sceneClass: SceneConstructor): void
pop (static method)
Signature
static pop(): void
exit (static method)
Signature
static exit(): void
clearStack (static method)
Signature
static clearStack(): void
stop (static method)
Signature
static stop(): void
prepareNextScene (static method)
Signature
static prepareNextScene<
T extends Scene_Base & {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
prepare: (...args: any[]) => void
}
>(...args: Parameters<T["prepare"]>): void
snap (static method)
Signature
static snap(): Bitmap
snapForBackground (static method)
Signature
static snapForBackground(): void
backgroundBitmap (static method)
Signature
static backgroundBitmap(): Bitmap | null
resume (static method)
Signature
static resume(): void