Readonly
contextContext given to all entities. This can be undefined.
Readonly
currentAll current child entities.
Instead of modifying this set, use EntityStore.addEntity or EntityStore.removeEntity. If you must manually modify this set directly, you'll also need to modify EntityStore.entityInstanceMap.
Readonly
entityAn internal mapping of all entity constructors to their current instances.
Readonly
entityA map of all entity keys to their registered Entity constructors.
Events emitted from any child entities.
Readonly
hitboxCollision detection system.
Readonly
isIf true, this entity store should no longer be used or operated upon.
Readonly
pixiOriginal pixi app.
Create a new instance of the given entity class and add it to this entity store.
Create an entity instance by finding the registered constructor with the given entityKey
and then deserializing and passing the given serializedParams
to that constructor.
Destroys the entity store and all entities contained inside it.
Runs .update()
on all current entities and runs collision detection for all hitboxes. If
any entities get marked as destroyed during their update, then they will be removed from the
set of entities.
All detected hitbox collisions (if any).
The top level storage class of all entities. Add entities with EntityStore.addEntity.