|
CeresEngine 0.2.0
A game development framework
|
An event that gets dispatched when an entity parent is changed. More...
#include <CeresEngine/Entity/Entity.hpp>
Public Member Functions | |
| EntityParentChanged (const Entity newParent, const Entity oldParent) | |
Creates a new EntityParentChanged event. | |
Public Member Functions inherited from CeresEngine::AbstractEntityEvent | |
| virtual | ~AbstractEntityEvent ()=default |
| Defaulted virtual destructor. | |
Public Attributes | |
| Entity | newParent |
| The entity new parent entity. | |
| Entity | oldParent |
| The entity old parent entity. | |
Additional Inherited Members | |
Public Types inherited from CeresEngine::EntityEvent< EntityParentChanged > | |
| using | Signal = CeresEngine::Event< void(const Entity &, const EntityParentChanged &)> |
| The signal type for the event. | |
Static Public Attributes inherited from CeresEngine::EntityEvent< EntityParentChanged > | |
| static const EntityEventID | eventID |
| This entity event type ID. | |
Protected Attributes inherited from CeresEngine::AbstractEntityEvent | |
| EntityManager * | mEntityManager = nullptr |
| The entity manager for the event. | |
| EntityEventManager * | mEventManager = nullptr |
| The event manager for the event. | |
An event that gets dispatched when an entity parent is changed.
|
inline |
Creates a new EntityParentChanged event.
| newParent | The new parent entity |
| oldParent | The old parent entity |
| Entity CeresEngine::EntityParentChanged::newParent |
The entity new parent entity.
| Entity CeresEngine::EntityParentChanged::oldParent |
The entity old parent entity.