Skip to main content

TGameStateWithOnCreate

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

onCreate

  • onCreate(engine: default): Promise<void>
  • Parameters

    Returns Promise<void>