00001
00009 #ifndef WEAPON_H
00010 #define WEAPON_H
00011
00012 using std::istream;
00013
00018 class CWeapon
00019 {
00020 public:
00026 CWeapon(istream *aStream);
00027
00029 CWeapon(const CWeapon *aWeapon);
00030
00035 int bulletCount();
00036
00041 float bulletSpeed();
00042
00047 float explosionRadius();
00048
00053 float explosionSpeed();
00054
00059 float damage();
00060
00061 private:
00062 int mBulletCount;
00063 float mBulletSpeed;
00064 float mExplosionRadius;
00065 float mExplosionSpeed;
00066 float mDamage;
00067 };
00068
00069 #endif // WEAPON_H