- Timestamp:
- May 26, 2016, 3:58:37 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/sagerjFS16/src/modules/weapons/weaponmodes/Discharger.h
r11189 r11205 53 53 public: 54 54 Discharger(Context* context); 55 virtual ~Discharger() {} 55 virtual ~Discharger() {} // declaration for the constructor 56 56 57 virtual void fire() override; 57 virtual void fire() override; // declaration of specific fire function of each weapon 58 58 59 59 private: 60 float speed_; // The speed of the fired projectile. 61 60 float speed_; // The speed of the fired projectile. 61 const unsigned int thresholdOne_ = 50; // Threshold amount of charges where the projectile changes the first time 62 const unsigned int thresholdTwo_ = 100; // Threshold amount of charges where the projectile changes the second time 62 63 }; 63 64 }
Note: See TracChangeset
for help on using the changeset viewer.