Link Search Menu Expand Document

SceneManager.d overview


Table of contents


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