![]() | ComponentManager Class |
Namespace: Slash.ECS.Components
The ComponentManager type exposes the following members.
Name | Description | |
---|---|---|
![]() | ComponentManager |
Constructs a new component manager without any initial components.
|
Name | Description | |
---|---|---|
![]() | AddComponent |
Attaches the passed component to the entity with the specified id.
Note that this manager does not check whether the specified id is valid.
|
![]() | Components |
Returns an iterator over all components of this manager.
|
![]() | Entities |
Returns an iterator over all entities having components of this manager attached.
|
![]() | GetComponent |
Gets the component mapped to the entity with the specified id.
Note that this manager does not check whether the specified id is valid.
|
![]() | RemoveComponent(Int32) |
Removes the component mapped to the entity with the specified id.
Note that this manager does not check whether the specified id is valid.
|
![]() | RemoveComponent(Int32, IEntityComponent) |
Removes the component mapped to the entity with the specified id.
Note that this manager does not check whether the specified id is valid.
|
Name | Description | |
---|---|---|
![]() | ComponentAdded |
Callback when a new component was added.
|
![]() | ComponentRemoved |
Callback when a component was removed.
|