Is responsible for managing all entities.
More...
#include <Manager.h>
Is responsible for managing all entities.
The manager class handles update and draw calls collectively for all entities, and provides functionality to get all or a subset of all entities
- See also
- Entity
-
Entity::GroupLabel
-
Entity::TeamLabel
◆ addToGroup()
| void Manager::addToGroup |
( |
Entity * | mEntity, |
|
|
Group | mGroup ) |
◆ addToTeam()
| void Manager::addToTeam |
( |
Entity * | mEntity, |
|
|
Team | mTeam ) |
◆ draw()
◆ getAll()
| std::vector< Entity * > Manager::getAll |
( |
| ) |
|
- Returns
- std::vector containing all entities
◆ getGroup()
| std::vector< Entity * > & Manager::getGroup |
( |
Group | mGroup | ) |
|
◆ getTeam()
| std::vector< Entity * > & Manager::getTeam |
( |
Team | mTeam | ) |
|
◆ refresh()
| void Manager::refresh |
( |
| ) |
|
Disables all functionality of entities marked for destruction
- See also
- Entity::destroy()
◆ update()
The documentation for this class was generated from the following files: