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.
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.