CEL

Public API Reference

iDynamicCellCreator Struct Reference

This interface can be implemented by the application to control how cells are created. More...

#include <propclass/dynworld.h>

Inheritance diagram for iDynamicCellCreator:

List of all members.

Public Member Functions

virtual iDynamicCellCreateCell (const char *name)=0
 The DynWorld plugin needs a cell with the given name.
virtual void FillCell (iDynamicCell *cell)=0
 Fill a cell with pre-baseline dynamic objects.

Detailed Description

This interface can be implemented by the application to control how cells are created.

If this is not implemented then all cells should be created in advance before the dynworld plugin can use them.

Definition at line 63 of file dynworld.h.


Member Function Documentation

virtual iDynamicCell* iDynamicCellCreator::CreateCell ( const char *  name  )  [pure virtual]

The DynWorld plugin needs a cell with the given name.

If the application cannot provide a cell with this name then it should return 0 here. This function should only create the cell and fixed geometry but nothing more. The pre-baseline dynamic objects should be created by FillCell().

virtual void iDynamicCellCreator::FillCell ( iDynamicCell cell  )  [pure virtual]

Fill a cell with pre-baseline dynamic objects.


The documentation for this struct was generated from the following file:

Generated for CEL: Crystal Entity Layer 2.1 by doxygen 1.6.1