Manager and container of entities.
More...
#include <external/RadixEngine/include/radix/EntityManager.hpp>
Inherits list< Entity >.
Manager and container of entities.
radix::EntityManager::EntityManager |
( |
World & |
w | ) |
|
void radix::EntityManager::changeEntityName |
( |
Entity & |
ent, |
|
|
const std::string & |
from, |
|
|
const std::string & |
to |
|
) |
| |
|
private |
Entity & radix::EntityManager::create |
( |
| ) |
|
Gets the reference to the entity with specified ID.
- Exceptions
-
std::out_of_range | if no entity with this ID is found. |
Entity & radix::EntityManager::getByName |
( |
const std::string & |
name | ) |
|
Gets the reference to the entity with specified name.
- Exceptions
-
std::out_of_range | if no entity with this name is found. |
std::unordered_map<std::string, Entity&> radix::EntityManager::nameMap |
|
private |
World& radix::EntityManager::world |
The documentation for this class was generated from the following files: