Optional ReadonlyawaiterReadonlyconfigInitial config
ReadonlycurrentAdvertises the current state
Data to operate on. This data may mutate at any time
ReadonlyeventArchitecture to send messages between systems
ReadonlyisBoolean indicator if the world is currently executing
ReadonlynameWorld's name
ReadonlysystemObject containing all actions available inside a system
ReadonlytransitionObject 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()
Optionalquery: Readonly<IEntitiesQuery>Get all entities associated with a group
Get all resources stored in this world. Useful for debugging
Optionaltypes: 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
Optionaloptions: 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