Nui Engine
A game engine framework
|
Template class for component containers (concrete implementation of ComponentContainerBase) More...
#include <Component.h>
Public Member Functions | |
ComponentContainer (const T &data) | |
![]() | |
virtual | ~ComponentContainerBase ()=default |
Virtual destructor. | |
Public Attributes | |
T | m_data |
Protected Member Functions | |
virtual void | OnRemove (Entity *entity) override |
Method called when an entity is removed. | |
Template class for component containers (concrete implementation of ComponentContainerBase)
T | The stored component data |
|
inlineoverrideprotectedvirtual |
Method called when an entity is removed.
entity | The entity that was removed |
Implements Nui::ECS::Internal::ComponentContainerBase.