Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 12, 2016, 4:03:47 PM (8 years ago)
Author:
sagerj
Message:

fix the charging during reloadtime, the hudchargebar working so far…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/sagerjFS16/src/orxonox/weaponsystem/WeaponMode.h

    r11175 r11185  
    110110
    111111            // Fire
     112            inline unsigned int getMaxCharges()
     113                { return this->maxCharges_;}
     114            inline unsigned int getCharges()
     115                { return this->charges_;}
     116            inline bool isChargeable()
     117                { return this->chargeable_;}
    112118            inline void setDamage(float damage)
    113119                { this->damage_ = damage;}
     
    170176            unsigned int initialMagazines_;
    171177            unsigned int munitionPerShot_;
     178            unsigned int charges_;
     179            unsigned int maxCharges_;
    172180
    173181            float reloadTime_;
Note: See TracChangeset for help on using the changeset viewer.