All utilities to manage the entities in the EntityManager.
More...
All utilities to manage the entities in the EntityManager.
- See also
- EntityManager
◆ getEntityName()
std::string systems::ecs::getEntityName |
( |
const unsigned int & | id | ) |
|
Retrieves the name of the given entity.
- Parameters
-
- Returns
- the name of the entity
◆ removeEntityFromAll()
bool systems::ecs::removeEntityFromAll |
( |
const unsigned int & | id | ) |
|
◆ removeEntityFromManager()
bool systems::ecs::removeEntityFromManager |
( |
const unsigned int & | id | ) |
|
Removes an entity from the EntityManager, if the entity has children they will be removed too.
- Parameters
-
- Returns
- true if the entity is removed
◆ removeEntityFromScene()
void systems::ecs::removeEntityFromScene |
( |
const unsigned int & | id | ) |
|
Removes the given entity from the BasicScene, if entity has children they will be removed too.
- Parameters
-
◆ updateEntityName()
void systems::ecs::updateEntityName |
( |
const unsigned int & | id, |
|
|
const std::string & | name ) |
Updates the name of the given entity.
- Parameters
-
id | the entity id |
name | the entity new name |