TGameStateWithOnEnter
Hierarchy
- default
- TGameStateWithOnEnter
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[]
onEnter
Parameters
engine: default
rest...args: unknown[]
Returns Promise<void>
Event queue for the game state which will recieve all events when the state is active.