7 #ifndef NDK_ENTITYOWNER_HPP 8 #define NDK_ENTITYOWNER_HPP 10 #include <NDK/Entity.hpp> 32 #include <NDK/EntityOwner.inl> 34 #endif // NDK_ENTITYOwner_HPP TODO: For now is unable to display different color in the history, it needs a RichTextDrawer to do so...
Definition: Algorithm.hpp:12
NDK class that represents an entity in a world.
Definition: Entity.hpp:28
~EntityOwner()
Destructs the object and calls Reset.
Definition: EntityOwner.inl:35
NDK class that represents the owner of the entity and so its lifetime.
Definition: EntityOwner.hpp:14
void Reset(Entity *entity=nullptr)
Resets the ownership of the entity, previous is killed.
Definition: EntityOwner.inl:46
EntityOwner & operator=(Entity *entity)
Resets the ownership of the entity to the affected one.
Definition: EntityOwner.inl:72