TGameState
Hierarchy
Index
Constructors
constructor
Properties
publiccreated
publicevents
publicjobs
publicoptionalworld
Methods
publicdestroy
Currently only calls destroy on the world which stops the physics worker
Returns Promise<void>
publicgetLighting
Returns TSerializedLighting
publicgetRenderTasks
Returns TSerializedRenderTask[]
Event queue for the game state which will recieve all events when the state is active.