|
delegate void | GroupChanged (Group group, Entity entity, int index, IComponent component) |
|
delegate void | GroupUpdated (Group group, Entity entity, int index, IComponent previousComponent, IComponent newComponent) |
|
| Group (IMatcher matcher) |
| Use pool.GetGroup(matcher) to get a group of entities which match the specified matcher.
|
|
void | HandleEntitySilently (Entity entity) |
| This is used by the pool to manage the group.
|
|
void | HandleEntity (Entity entity, int index, IComponent component) |
| This is used by the pool to manage the group.
|
|
void | UpdateEntity (Entity entity, int index, IComponent previousComponent, IComponent newComponent) |
| This is used by the pool to manage the group.
|
|
void | RemoveAllEventHandlers () |
|
bool | ContainsEntity (Entity entity) |
| Determines whether this group has the specified entity.
|
|
Entity[] | GetEntities () |
| Returns all entities which are currently in this group.
|
|
Entity | GetSingleEntity () |
|
override string | ToString () |
|
Use pool.GetGroup(matcher) to get a group of entities which match the specified matcher. Calling pool.GetGroup(matcher) with the same matcher will always return the same instance of the group. The created group is managed by the pool and will always be up to date. It will automatically add entities that match the matcher or remove entities as soon as they don't match the matcher anymore.