Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 26, 2016, 3:58:37 PM (8 years ago)
Author:
sagerj
Message:

zusammengemerged mit florin project

File:
1 edited

Legend:

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

    r11189 r11205  
    5353        public:
    5454            Discharger(Context* context);
    55             virtual ~Discharger() {}
     55            virtual ~Discharger() {}                    // declaration for the constructor
    5656
    57             virtual void fire() override;
     57            virtual void fire() override;               // declaration of specific fire function of each weapon
    5858
    5959        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       
    6263    };
    6364}
Note: See TracChangeset for help on using the changeset viewer.