|
NcEngine
|
Base class for free components. More...
#include <Component.h>
Public Member Functions | |
| FreeComponent (Entity entity) noexcept | |
Public Member Functions inherited from nc::ComponentBase | |
| ComponentBase (Entity entity) noexcept | |
| ComponentBase (const ComponentBase &)=delete | |
| ComponentBase (ComponentBase &&)=default | |
| ComponentBase & | operator= (const ComponentBase &)=delete |
| ComponentBase & | operator= (ComponentBase &&)=default |
| Entity | ParentEntity () const noexcept |
Base class for free components.
User-defined free components should derive from this to avoid creating distinct pools for each type. They do not need to be registered.