iCelPropertyClassTemplate Struct Reference
This is a property class template for an entity. More...
#include <physicallayer/entitytpl.h>
Public Member Functions | |
virtual void | SetName (const char *name)=0 |
Set the name of this property class. | |
virtual const char * | GetName () const =0 |
Get the name of this property class. | |
virtual void | SetTag (const char *tagname)=0 |
Set the optional tag of this property class. | |
virtual const char * | GetTag () const =0 |
Get the tag of this property class or return 0 if there is no tag. | |
virtual void | SetPropertyVariable (csStringID propertyID, celDataType type, const char *varname)=0 |
Set a property with variables instead of a predefined value. | |
virtual void | SetProperty (csStringID propertyID, long value)=0 |
Set a generic property. | |
virtual void | SetProperty (csStringID propertyID, float value)=0 |
Set a generic property. | |
virtual void | SetProperty (csStringID propertyID, bool value)=0 |
Set a generic property. | |
virtual void | SetProperty (csStringID propertyID, const char *value)=0 |
Set a generic property. | |
virtual void | SetProperty (csStringID propertyID, const csVector2 &value)=0 |
Set a generic property. | |
virtual void | SetProperty (csStringID propertyID, const csVector3 &value)=0 |
Set a generic property. | |
virtual void | SetProperty (csStringID propertyID, const csColor &value)=0 |
Set a generic property. | |
virtual void | SetProperty (csStringID propertyID, iCelPropertyClass *value)=0 |
Set a generic property. | |
virtual void | SetProperty (csStringID propertyID, iCelEntity *entity)=0 |
Set a generic property. | |
virtual void | PerformAction (csStringID actionID, iCelParameterBlock *params)=0 |
Perform an action with a generic parameter list. |
Detailed Description
This is a property class template for an entity.A property class describe physical attributes of an entity.
Definition at line 82 of file entitytpl.h.
Member Function Documentation
|
Get the name of this property class.
|
|
Get the tag of this property class or return 0 if there is no tag.
|
|
Perform an action with a generic parameter list. The parameters here support CEL_DATA_PARAMETER. |
|
Set the name of this property class.
|
|
Set a generic property.
|
|
Set a generic property.
|
|
Set a generic property.
|
|
Set a generic property.
|
|
Set a generic property.
|
|
Set a generic property.
|
|
Set a generic property.
|
|
Set a generic property.
|
|
Set a generic property. In order to make it easier to access properties in a property class from general scripting languages this generic interface to properties is provided. It is always faster and more efficient to set properties directly but this system is usable in general. This function returns false if the property could not be set for some reason. The physical layer maintains a registry of ID's to use. The convention is to use property names like: 'cel.property.num'. |
|
Set a property with variables instead of a predefined value. This uses CEL_DATA_PARAMETER. |
|
Set the optional tag of this property class. Multiple property classes of the same type (same name) can be attached to the same entity. To do that you need to add a tag so that you can uniquely identify them. |
The documentation for this struct was generated from the following file:
- physicallayer/entitytpl.h
Generated for CEL: Crystal Entity Layer by doxygen 1.4.4