In file include/csengine/cdobj.h:

class csColliderPointerObject : public csObject

A csColliderPointerObject which contains a pointer to a Collider Object

Inheritance:


Public Methods

csColliderPointerObject (csCollider* pCollider, bool AutoDelete)
Initialize this object
static csCollider* GetCollider (csObject& csobj)
Retrieve the collider of a csObject, if one exists.
static void SetCollider (csObject& csobj, csCollider* pCollider, bool AutoDelete)
Give a collider to the given csobject.
~csColliderPointerObject ()
Remove the according collider

Inherited from csObject:

Public Methods

CS_ID GetID()
csObject* GetObj(const csIdType& objtype)
virtual csObject* GetObjectParent()
void ObjAdd(csObject* obj)
csObjIterator ObjGet(const csIdType& objtype)
void ObjRelease(csObject* obj)
void ObjRemove(csObject* obj)

Private Fields

CS_ID csid_value
csObjTree* objtree

Private Methods

virtual void SetObjectParent(csObject* parent)

Documentation

A csColliderPointerObject which contains a pointer to a Collider Object. This object is used to attach colliders to existing csObjects.
csColliderPointerObject(csCollider* pCollider, bool AutoDelete)
Initialize this object

~csColliderPointerObject()
Remove the according collider

static csCollider* GetCollider(csObject& csobj)
Retrieve the collider of a csObject, if one exists.

static void SetCollider(csObject& csobj, csCollider* pCollider, bool AutoDelete)
Give a collider to the given csobject.


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de