- Timestamp:
- Apr 21, 2016, 4:47:39 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/sagerjFS16/src/modules/weapons/weaponmodes/Discharger.h
r11170 r11174 48 48 @ingroup WeaponsWeaponModes 49 49 */ 50 50 51 class _WeaponsExport Discharger : public WeaponMode 51 52 { … … 55 56 56 57 virtual void fire() override; 57 virtual void release() override;58 58 59 59 private: 60 float speed_; // The speed of the fired projectile. 61 unsigned int charges_; // An indicator of how much you charged up. 60 bool chargeable_; // An indicator that this weapon type is chargeable. 61 float speed_; // The speed of the fired projectile. 62 float ctime_; // time the weapon has charged. 62 63 }; 63 64 }
Note: See TracChangeset
for help on using the changeset viewer.