TGameStateWithOnUpdate
Hierarchy
- default
- TGameStateWithOnUpdate
Index
Properties
Methods
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[]
onUpdate
Parameters
engine: default
delta: number
Returns Promise<void>
Event queue for the game state which will recieve all events when the state is active.