Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 21, 2016, 4:47:39 PM (8 years ago)
Author:
sagerj
Message:

everything beneath weaponmode changed to push/release - wm modified only need to implement timer/ticker

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/sagerjFS16/src/modules/weapons/weaponmodes/Discharger.h

    r11170 r11174  
    4848    @ingroup WeaponsWeaponModes
    4949    */
     50
    5051    class _WeaponsExport Discharger : public WeaponMode
    5152    {
     
    5556
    5657            virtual void fire() override;
    57             virtual void release() override;
    5858
    5959        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.
    6263    };
    6364}
Note: See TracChangeset for help on using the changeset viewer.