VirtualProjectile Class Reference

#include <ODEProjectile.h>

Inheritance diagram for VirtualProjectile:

Inheritance graph
[legend]
Collaboration diagram for VirtualProjectile:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 VirtualProjectile ()
virtual void Init ()
virtual bool Collide (MercuryODEObject *pHit, dContact &pContact, MercuryODEWorld *pWorld)
 Collide into another object (if you want to, return true).
void NotifyClass (MercuryObject *pToNotify, const MString &sMessage)
void EnableForShot (dSpaceID sID, float fLength, const MercuryPoint &pCenter, const MercuryPoint &pDirection)
void Disable ()
 CLASS_RTTI (VirtualProjectile, MercuryODEObject)

Protected Attributes

dGeomID m_pRay
MercuryObjectm_pToNotify
MString m_sMessage

Detailed Description

Definition at line 29 of file ODEProjectile.h.


Constructor & Destructor Documentation

VirtualProjectile::VirtualProjectile (  )  [inline]

Definition at line 32 of file ODEProjectile.h.


Member Function Documentation

void VirtualProjectile::Init (  )  [virtual]

Reimplemented from MercuryObject.

Definition at line 100 of file ODEProjectile.cpp.

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

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

Implements MercuryODEObject.

Definition at line 138 of file ODEProjectile.cpp.

void VirtualProjectile::NotifyClass ( MercuryObject pToNotify,
const MString sMessage 
) [inline]

Definition at line 38 of file ODEProjectile.h.

void VirtualProjectile::EnableForShot ( dSpaceID  sID,
float  fLength,
const MercuryPoint pCenter,
const MercuryPoint pDirection 
)

Definition at line 115 of file ODEProjectile.cpp.

void VirtualProjectile::Disable (  ) 

Definition at line 108 of file ODEProjectile.cpp.

VirtualProjectile::CLASS_RTTI ( VirtualProjectile  ,
MercuryODEObject   
)


Member Data Documentation

dGeomID VirtualProjectile::m_pRay [protected]

Definition at line 43 of file ODEProjectile.h.

MercuryObject* VirtualProjectile::m_pToNotify [protected]

Definition at line 44 of file ODEProjectile.h.

MString VirtualProjectile::m_sMessage [protected]

Definition at line 45 of file ODEProjectile.h.


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