Skip to main content

TGameStateWithOnEnter

Hierarchy

Index

Properties

publiccreated

created: boolean = false

publicevents

events: default = ...

Event queue for the game state which will recieve all events when the state is active.

publicjobs

jobs: default

publicoptionalworld

world?: default

Methods

publicdestroy

  • destroy(): Promise<void>
  • Currently only calls destroy on the world which stops the physics worker


    Returns Promise<void>

publicgetLighting

publicgetRenderTasks

onEnter

  • onEnter(engine: default, ...args: unknown[]): Promise<void>
  • Parameters

    • engine: default
    • rest...args: unknown[]

    Returns Promise<void>