Home > @visualization-tools/core > IEntityComponentStore
Place to store components for entity groups. It is taken as a membership requirement that the component be present, if this is not the case the TComponent type should include undefined in the union.
Signature:
export interface IEntityComponentStore<TEntity extends object, TComponent>
| Method | Description |
|---|---|
| deleteComponent(entity) | |
| getComponent(entity) | |
| setComponent(entity, component) |