Hierarchy

  • Stage

Methods

Constructors

Properties

Methods

  • Go to -1 index of handler in running scene.

    Returns void

  • Change the index as you wish of handler in running scene. The index start from zero and no more than the number of available handlers.

    Parameters

    • sceneIndex: number

    Returns MaybePromise<void>

  • Run the scene which is matches with given id.

    Parameters

    • sceneId: string

      The scene identification.

    Returns MaybePromise<void>

  • Exit from running scene.

    Returns void

  • Middleware function will be running in lumpia framework.

    Returns ((ctx: any, next: any) => any)

      • (ctx: any, next: any): any
      • Parameters

        • ctx: any
        • next: any

        Returns any

  • Go to the next index of handler in running scene.

    Returns void

Constructors

Properties

ctx: any

The current update context from lumpia.

scenes: Map<string, Scene> = ...

The available scenes.