Centralized point for keeping track of and properly disposing of Entity objects.
More...
#include <EntityManager.h>
List of all members.
Detailed Description
Centralized point for keeping track of and properly disposing of Entity objects.
Constructor & Destructor Documentation
| EntityManager::EntityManager |
( |
|
) |
|
| EntityManager::~EntityManager |
( |
|
) |
|
Cleans up all allocated memory for Entities.
- Note:
- Once the EntityManager is destroyed, all references to stored objects become invalid.
Member Function Documentation
| bool EntityManager::create |
( |
EntityType |
type, |
|
|
Uint |
definitionId, |
|
|
const std::string & |
name | |
|
) |
| | |
| void EntityManager::createFactories |
( |
|
) |
[private] |
| bool EntityManager::destroy |
( |
const std::string & |
name |
) |
|
| Entity* EntityManager::get |
( |
const std::string & |
name |
) |
|
| const string & EntityManager::getError |
( |
|
) |
|
Gets the last error produced.
Member Data Documentation
The documentation for this class was generated from the following files: