Interface: TGameStateWithBeforeWorldCreate
Defined in: core/game-state.ts:46
Extends
Properties
created
created:
boolean=false
Defined in: core/game-state.ts:56
Inherited from
TGameStateWithOnCreate.created
events
events:
TEventQueue
Defined in: core/game-state.ts:62
Event queue for the game state which will recieve all events when the state is active.
Inherited from
jobs
jobs:
TJobManager
Defined in: core/game-state.ts:64
Inherited from
postProcessing
postProcessing:
TPostProcessingStack
Defined in: core/game-state.ts:65
Inherited from
TGameStateWithOnCreate.postProcessing
world?
optionalworld?:TWorld
Defined in: core/game-state.ts:57
Inherited from
Methods
beforeWorldCreate()
beforeWorldCreate(
engine):Promise<void>
Defined in: core/game-state.ts:47
Parameters
engine
Returns
Promise<void>
destroy()
destroy():
Promise<void>
Defined in: core/game-state.ts:195
Currently only calls destroy on the world which stops the physics worker
Returns
Promise<void>
Inherited from
getLighting()
getLighting():
TSerializedLighting
Defined in: core/game-state.ts:112
Returns
Inherited from
getRenderTasks()
getRenderTasks():
TSerializedRenderTask[]
Defined in: core/game-state.ts:108