|
RType
|
#include <IEntity.hpp>
Public Member Functions | |
| IEntity () | |
| Construct a new IEntity object. More... | |
| ~IEntity ()=default | |
| Destroy the IEntity object. More... | |
| std::vector< std::shared_ptr< IComponentRType > > | getComponents () const |
| Get the Components object. More... | |
| void | addComponent (const std::shared_ptr< IComponentRType > &component) |
| addComponent, add a component to the entity More... | |
| std::string | getAttribute () const |
| Get the Attribute object. More... | |
| void | setAttribute (const std::string &attribute) |
| Set the Attribute object. More... | |
Protected Attributes | |
| std::vector< std::shared_ptr< IComponentRType > > | _components |
| std::string | _attribute |
Definition at line 14 of file IEntity.hpp.
|
inline |
Construct a new IEntity object.
Definition at line 22 of file IEntity.hpp.
References setAttribute().

|
default |
Destroy the IEntity object.
|
inline |
addComponent, add a component to the entity
| component |
Definition at line 50 of file IEntity.hpp.
|
inline |
Get the Attribute object.
Definition at line 60 of file IEntity.hpp.
References _attribute.
|
inline |
Get the Components object.
Definition at line 39 of file IEntity.hpp.
|
inline |
Set the Attribute object.
| attribute |
Definition at line 70 of file IEntity.hpp.
References _attribute.
Referenced by IEntity().

|
protected |
Definition at line 77 of file IEntity.hpp.
Referenced by getAttribute(), and setAttribute().
|
protected |
Definition at line 76 of file IEntity.hpp.