CWeapon Class Reference

Weapon class. More...

#include <class.weapon.hh>

Inheritance diagram for CWeapon:

Inheritance graph
Collaboration diagram for CWeapon:

Collaboration graph

List of all members.

Public Member Functions

 CWeapon (CSprite *pSprite)
CWeaponCastToWeapon ()
 Cast to weapon class.
void FireBullet (CVector2D vBulletPos, bool bTravelLeft)
 Fires a bullet.

Public Attributes

Uint32 miTimeLastBulletFired
int miAmmo

Detailed Description

Weapon class.

Constructor & Destructor Documentation

CWeapon::CWeapon ( CSprite pSprite  ) 

Member Function Documentation

CWeapon * CWeapon::CastToWeapon (  )  [virtual]

Cast to weapon class.

Reimplemented from CObject.

void CWeapon::FireBullet ( CVector2D  vBulletPos,
bool  bTravelLeft 

Fires a bullet.

Member Data Documentation

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

Generated on Fri Feb 22 09:36:55 2008 for Mega Maryo by  doxygen 1.5.5