ExplodingCokeCan Class Reference

#include <ExplodingCokeCan.h>

Inheritance diagram for ExplodingCokeCan:

Inheritance graph
[legend]
Collaboration diagram for ExplodingCokeCan:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ExplodingCokeCan ()
 ExplodingCokeCan (const MString &sName)
 ~ExplodingCokeCan ()
virtual void Init ()
virtual void Update (const float dTime)
 [internal] Update (call this update last when abstracting because Update can destroy the object)
virtual bool Collide (MercuryODEObject *pHit, dContact &pContact, MercuryODEWorld *pWorld)
 Collide into another object (if you want to, return true).
virtual void Message (int Message, PStack &data, const MString &name)
 Receive message (When subscribing to messages, you receive them via this command).
 CLASS_RTTI (ExplodingCokeCan, MercuryODEObjectLoadable)

Private Attributes

dGeomID m_pSph
float m_fHealth
bool m_bDestroyed

Detailed Description

Definition at line 6 of file ExplodingCokeCan.h.


Constructor & Destructor Documentation

ExplodingCokeCan::ExplodingCokeCan (  )  [inline]

Definition at line 9 of file ExplodingCokeCan.h.

ExplodingCokeCan::ExplodingCokeCan ( const MString sName  )  [inline]

Definition at line 13 of file ExplodingCokeCan.h.

ExplodingCokeCan::~ExplodingCokeCan (  ) 


Member Function Documentation

void ExplodingCokeCan::Init (  )  [virtual]

Reimplemented from MercuryObject.

Definition at line 17 of file ExplodingCokeCan.cpp.

void ExplodingCokeCan::Update ( const float  dTime  )  [virtual]

[internal] Update (call this update last when abstracting because Update can destroy the object)

Reimplemented from MercuryODEObjectLoadable.

Definition at line 31 of file ExplodingCokeCan.cpp.

bool ExplodingCokeCan::Collide ( MercuryODEObject pHit,
dContact &  pContact,
MercuryODEWorld pWorld 
) [virtual]

Collide into another object (if you want to, return true).

Reimplemented from MercuryODEObjectLoadable.

Definition at line 37 of file ExplodingCokeCan.cpp.

void ExplodingCokeCan::Message ( int  Message,
PStack data,
const MString name 
) [virtual]

Receive message (When subscribing to messages, you receive them via this command).

Reimplemented from MercuryMessageHandler.

Definition at line 135 of file ExplodingCokeCan.cpp.

ExplodingCokeCan::CLASS_RTTI ( ExplodingCokeCan  ,
MercuryODEObjectLoadable   
)


Member Data Documentation

dGeomID ExplodingCokeCan::m_pSph [private]

Definition at line 26 of file ExplodingCokeCan.h.

float ExplodingCokeCan::m_fHealth [private]

Definition at line 27 of file ExplodingCokeCan.h.

bool ExplodingCokeCan::m_bDestroyed [private]

Definition at line 28 of file ExplodingCokeCan.h.


The documentation for this class was generated from the following files:
Hosted by SourceForge.net Logo