|
QSDK 1.1 Documentation |
#include <Q/gamedev.h>
Inheritance diagram for Q::EntityManager:

The main job of the EntityManager is to control the activation and deactivation of entities. It does this by watching for objects to come in to scope and later on, to go out of scope. The EntityManager::scopeAmount controls the maximum number of entities that may be activated per frame. For the entity manager to be able to function at all it must be given at least one entity factory. Those factories are in charge of managing the construction and the destruction of entities.
|
|
A COM pointer to an object of this class Reimplemented in Q::EntityManager2. |
|
|
Returns the number of active entities |
|
|
|
|
|
Add a factory. Factories are called in the order in which they have been added when the manager requests the activation of an entity. |
|
||||||||||||||||||||||||
|
Create an EntityInstance with the specified name, the specified group and the specified type.
|
|
|
|
|
||||||||||||
|
Find the EntityInstance associated with an entity.
|
|
||||||||||||
|
Find the EntityInstance with the specified group.
|
|
||||||||||||
|
Find the EntityInstance with the specified UID.
|
|
||||||||||||
|
Find the EntityInstance with the specified name.
|
|
|
Returns the active entities.
|
|
|
Return all the EntityInstance objects.
|
|
|
Deactivate all active entities |
|
|
Remove a factory |
|
|
The maximum number of entities created per frame |
|
|
Set the maximum number of entities created per frame |
|
|
The singleton EntityManager. Reimplemented in Q::EntityManager2. |
|
|
COM CLSID 19320585-d662-43ff-a6d5-304f4311e6b3 Reimplemented in Q::EntityManager2. |
|
|
COM IID 8da08e2b-c989-40d6-a5ec-aa7eeb1e2114 Reimplemented from Com::Unknown. Reimplemented in Q::EntityManager2. |
|
|
|
Qube Software Limited © 2000-2004
|
|