|
CeresEngine 0.2.0
A game development framework
|
An abstract type that represents a generic component listener. More...
#include <CeresEngine/Entity/Component.hpp>
Public Member Functions | |
| virtual | ~AbstractComponentListener ()=default |
Destroys the AbstractComponentListener instance. | |
| virtual ComponentMask | mask () const noexcept=0 |
| The component criteria a entity must match for consideration of a callback. | |
| virtual void | componentsAdded (const Entity &entity) noexcept=0 |
A notification dispatched by the SystemManager to a system. | |
| virtual void | componentsRemoved (const Entity &entity) noexcept=0 |
A notification dispatched by the SystemManager to a system. | |
| virtual void | entityDirtied (const Entity &entity, const EntityChangeSet &changeSet) noexcept |
A notification dispatched by the SystemManager to a system. | |
An abstract type that represents a generic component listener.
See ComponentListener<Cs... for more details.
|
virtualdefault |
Destroys the AbstractComponentListener instance.
|
pure virtualnoexcept |
A notification dispatched by the SystemManager to a system.
This notification is dispatched once a new entity matching the mask criteria is created (either by creating it or by adding all components required).
| entity | The entity object |
|
pure virtualnoexcept |
A notification dispatched by the SystemManager to a system.
This notification is dispatched once an entity that previously matched the mask criteria is destroyed (either by destroying it or by removing one of the required components).
| entity | The entity object |
|
inlinevirtualnoexcept |
A notification dispatched by the SystemManager to a system.
This notification is dispatched once an entity that previously matched the mask criteria is dirtied.
| entity | The entity object. |
|
pure virtualnoexcept |
The component criteria a entity must match for consideration of a callback.
Implemented in CeresEngine::ComponentListener< Cs >.