

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. | |
Protected Attributes | |
| Entity * | pParent |
| u32 | mID |
| std::string | mName |
Friends | |
| class | ScriptedEntityComponent |
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 | ( | ) |
friend class ScriptedEntityComponent [friend] |
Definition at line 32 of file EntityComponent.h.
u32 EntityComponent::mID [protected] |
Definition at line 57 of file EntityComponent.h.
std::string EntityComponent::mName [protected] |
Definition at line 58 of file EntityComponent.h.
Entity* EntityComponent::pParent [protected] |
Definition at line 55 of file EntityComponent.h.
1.5.8