iCelSpawner Struct Reference
This is an interface that can be implemented by an application in order to get more control over how entities should be spawned. More...
#include <propclass/spawn.h>
Inheritance diagram for iCelSpawner:

Public Member Functions | |
| virtual iCelEntity * | CreateEntity (iCelEntityTemplate *tpl, const char *entityName, iCelParameterBlock *params, const csVector3 &pos, float yrot, const char *sector, const char *node)=0 |
| A new entity has to be created. | |
Detailed Description
This is an interface that can be implemented by an application in order to get more control over how entities should be spawned.
If the pcspawn property class discovers that there is an iCelSpawner object in the object registry (with the tag 'cel.spawner') then it will automatically use this instead of creating entities on its own.
Definition at line 172 of file spawn.h.
Member Function Documentation
| virtual iCelEntity* iCelSpawner::CreateEntity | ( | iCelEntityTemplate * | tpl, | |
| const char * | entityName, | |||
| iCelParameterBlock * | params, | |||
| const csVector3 & | pos, | |||
| float | yrot, | |||
| const char * | sector, | |||
| const char * | node | |||
| ) | [pure virtual] |
A new entity has to be created.
The documentation for this struct was generated from the following file:
- propclass/spawn.h
Generated for CEL: Crystal Entity Layer 2.1 by doxygen 1.6.1
