CEL

Public API Reference

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:

List of all members.

Public Member Functions

virtual iCelEntityCreateEntity (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:

Generated for CEL: Crystal Entity Layer 2.1 by doxygen 1.6.1