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

Public Types | |
| typedef Com::Ptr< EntityFactory > | PTR |
Public Member Functions | |
| virtual Utils::Result | get (const Concept &type, Entity **)=0 |
| virtual Utils::Result | recycle (Entity *)=0 |
Static Public Attributes | |
| Com::UUID | IID |
Factory for Entity. This interface needs to be implemented by the client. It controls the construction and destruction of Entity objects. EntityFactory::get is called when the EntityManager needs an entity of a particular type to activate and EntityFactory::recycle is called when the EntityManager has deactivated the object. Whether the EntityFactory explicitly creates and destroys objects on EntityFactory::get and EntityFactory::recycle or recycles them is purely up to the implementation of the factory.
|
|
A COM pointer to an object of this class Reimplemented in Q::EntityFactoryBase. |
|
||||||||||||
|
This method gets called when the EntityManager needs an entity of a particular type to activate.
|
|
|
This method gets called when the EntityManager deactivates an entity.
|
|
|
COM IID 1af31823-8b88-4d8a-ba46-46400a996365 Reimplemented from Com::Unknown. |
|
|
|
Qube Software Limited © 2000-2004
|
|