Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 6, 2015, 9:37:11 PM (5 years ago)
Author:
fvultier
Message:

Minor improvements. Use of the Munition class.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/towerdefenseFabien/src/modules/weapons/projectiles/SplitGunProjectile.h

    r10606 r10627  
    6161            virtual void setSplitTime(float splitTime);
    6262            virtual void setSpread(float spread);
     63            virtual void setDamageReduction(float damageReduction);
    6364
    6465        private:           
     
    6768            float splitTime_;
    6869            float spread_;
     70            float damageReduction_; //The damage of a child projectile is reduced by this factor
    6971            Timer splitTimer_;
    7072
Note: See TracChangeset for help on using the changeset viewer.