

Public Member Functions | |
| EntityComponent (Entity *parent) | |
| Constructor. | |
| virtual | ~EntityComponent () |
| Deconstructor. | |
| u32 | getID () const |
| Gets the ID of this component. | |
| const std::string & | getName () const |
| Gets the name of this component. | |
| const Entity * | getParent () |
| Gets the parent of this component. | |
| void | setName (const std::string &name) |
| Sets the name of this component. | |
Protected Attributes | |
| Entity * | pParent |
| u32 | mID |
| std::string | mName |
Definition at line 30 of file EntityComponent.h.
| EntityComponent::EntityComponent | ( | Entity * | parent | ) |
Constructor.
| parent | Pointer to parent Entity. |
Definition at line 26 of file EntityComponent.cpp.
| EntityComponent::~EntityComponent | ( | ) | [virtual] |
| u32 EntityComponent::getID | ( | ) | const |
| const std::string & EntityComponent::getName | ( | ) | const |
| const Entity * EntityComponent::getParent | ( | ) |
| void EntityComponent::setName | ( | const std::string & | name | ) |
u32 EntityComponent::mID [protected] |
Definition at line 58 of file EntityComponent.h.
std::string EntityComponent::mName [protected] |
Definition at line 59 of file EntityComponent.h.
Entity* EntityComponent::pParent [protected] |
Definition at line 56 of file EntityComponent.h.
1.5.8