SIM_ColliderLabel Class Reference

#include <SIM_ColliderLabel.h>

Inheritance diagram for SIM_ColliderLabel:

SIM_Data SIM_OptionsUser

List of all members.

Public Member Functions

 GETSET_DATA_FUNCS_S (SIM_NAME_COLLIDERLABEL, ColliderLabel)

Protected Member Functions

 SIM_ColliderLabel (const SIM_DataFactory *factory)
virtual ~SIM_ColliderLabel ()


Detailed Description

This class associates a string label with an object that is used to help determine what SIM_Collider subclass to use when performing collision detection between a pair of objects. In addition to holding the collider label for an object, SIM_Colliders may be attached as subdata to this data to explicitly specify a SIM_Collider to use when colliding this object with another. The SIM_Collider with the subdata name that matches the other object's collider label is used as the collider for the two objects. For more information on determining the right SIM_Collider to use for a pair of objects, see SIM_Object::getCollider().

Definition at line 31 of file SIM_ColliderLabel.h.


Constructor & Destructor Documentation

SIM_ColliderLabel::SIM_ColliderLabel ( const SIM_DataFactory factory  )  [explicit, protected]

virtual SIM_ColliderLabel::~SIM_ColliderLabel (  )  [protected, virtual]


Member Function Documentation

SIM_ColliderLabel::GETSET_DATA_FUNCS_S ( SIM_NAME_COLLIDERLABEL  ,
ColliderLabel   
)

Control the label that helps determine the proper collider to use for this object.


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

Generated on Fri May 25 00:10:37 2012 for HDK by  doxygen 1.5.9