Click or drag to resize
ComponentManager Methods

The ComponentManager type exposes the following members.

Methods
  NameDescription
Public methodAddComponent
Attaches the passed component to the entity with the specified id. Note that this manager does not check whether the specified id is valid.
Public methodComponents
Returns an iterator over all components of this manager.
Public methodEntities
Returns an iterator over all entities having components of this manager attached.
Public methodGetComponent
Gets the component mapped to the entity with the specified id. Note that this manager does not check whether the specified id is valid.
Public methodRemoveComponent(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.
Public methodRemoveComponent(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.
Top
See Also