Vivid
|
#include <Component.h>
Public Member Functions | |
virtual void | Draw (Camera *camera)=0 |
virtual void | ImGuiRender ()=0 |
int | GetOwnerEntityID () const |
void | SetEntity (const int &entityID) |
virtual ComponentType | GetComponentType ()=0 |
int | GetComponentID () const |
Protected Attributes | |
int | m_OwnerEntityID = 0 |
Contains a Component.
Component is a class that contains a component. It is a base class for all the components. It contains a unique ID for every component. It also contains the ID of the entity to which it belongs.
Definition at line 14 of file Component.h.
Vivid::Component::Component | ( | ) |
Definition at line 4 of file Component.cpp.
|
inline |
Definition at line 34 of file Component.h.
|
inline |
Definition at line 30 of file Component.h.
|
inline |
Definition at line 31 of file Component.h.
|
protected |
Definition at line 20 of file Component.h.