The Entity class used for storing and getting Component Handles.
More...
#include <Entity.hpp>
The Entity class used for storing and getting Component Handles.
For more information and examples, see page Core.
| rz::core::Entity::Entity |
( |
| ) |
|
|
inlinenoexcept |
Constructs an Entity object from a pre-constructed map of Component objects.
- Parameters
-
| components | The ComponentMap of components to initialize this Entity with. |
Adds a ComponentHandle to the ComponentMap of Entity.
- Parameters
-
| component | The ComponentHandle to add. |
- Return values
-
| ComponentHandle | The passed ComponentHandle on success. |
Gets the current ComponentMap of the Entity.
- Returns
- The current ComponentMap of the Entity
| const UUID64& rz::core::Entity::getID |
( |
| ) |
const |
|
inlinenoexcept |
Gets the unique ID of this Entity.
- Returns
- The unique id of this Entity.
Removes a ComponentHandle from the ComponentMap of Entity.
- Parameters
-
| component | The ComponentHandle to remove. |
The documentation for this class was generated from the following file:
- /home/travis/build/razaron/engine-mk1/core/Entity.hpp