Skip to main content

TGameStateWithBeforeWorldCreate

Hierarchy

  • default
    • TGameStateWithBeforeWorldCreate

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

beforeWorldCreate

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

    Returns Promise<void>

publicdestroy

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


    Returns Promise<void>

publicgetLighting

publicgetRenderTasks