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 entities associated with a group
Get all resources stored in this world. Useful for debugging
Optional
types: readonly TExistenceQueryParameter<any>[]Refresh an entity's registration with queries. This is useful e.g. after an entity was mutated
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>>Start a continuous execution. The Promise resolves when the execution terminates
Execute a single step. The Promise resolves when the execution terminates
Terminate execution
This promise resolves when the execution terminates