Constructor of the entity-manager. eventManager may be used to notify about entity creation and component registration. maxComponent sets the maximum number of components supported by the whole manager. poolSize is the chunk size in bytes for each components.
Current capacity entity.
Return a range of all the valid instances of a component.
Create an entity.
Allows to browse through the entities that have a required set of components.
Returns an entity from an an entity-id
Allows to browse through all the valid entities of the manager with a foreach loop.
Current number of managed entities.
Return true if the given entity ID is still valid.
Manages entities creation and component memory management.