Optional
Readonly
awaiterReadonly
configInitial config
Readonly
currentAdvertises the current state
Data to operate on. This data may mutate at any time
Readonly
eventArchitecture to send messages between systems
Readonly
isBoolean indicator if the world is currently executing
Readonly
nameWorld's name
Readonly
systemObject containing all actions available inside a system
Readonly
transitionObject containing all actions available on step-to-step transitions, as well as to states
Query entities and find the ones with a certain combination of component.
To get a single entity by ID, please use the global function getEntity()
Optional
query: Readonly<IEntitiesQuery>Get all resources stored in this world. Useful for debugging
Optional
types: readonly TExistenceQueryParameter<any>[]Check whether an entity exists in this world
Hot replace a system
Prepare a savable version of the current world. The query can be used to only save a sub-set with specific conditions
Optional
options: Readonly<ISerDeOptions<TSerializer>>Generated using TypeDoc
This promise resolves when the execution terminates