|
Saga
Saga Game Engine
|
Generic group of components. More...
#include <componentGroup.h>

Public Member Functions | |
| virtual | ~IComponentGroup ()=default |
| Destroy the IComponentGroup object. | |
| virtual void | addEntity (std::shared_ptr< GameWorld > world, const Entity &entity)=0 |
| Handle adding an entity to a group. This entity must have all the components specified by the group. | |
| virtual void | removeEntity (Entity entity)=0 |
| Handle removing an entity from a group. | |
Generic group of components.
|
virtualdefault |
Destroy the IComponentGroup object.
|
pure virtual |
Handle adding an entity to a group. This entity must have all the components specified by the group.
| world | |
| entity |
Implemented in Saga::ComponentGroup< Component >.
|
pure virtual |
Handle removing an entity from a group.
| entity |
Implemented in Saga::ComponentGroup< Component >.