#include <ODEProjectile.h>
Inheritance diagram for VirtualProjectile:
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 |
MercuryObject * | m_pToNotify |
MString | m_sMessage |
Definition at line 29 of file ODEProjectile.h.
VirtualProjectile::VirtualProjectile | ( | ) | [inline] |
Definition at line 32 of file ODEProjectile.h.
void VirtualProjectile::Init | ( | ) | [virtual] |
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 | ||||
) |
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.