- Timestamp:
- Feb 4, 2016, 11:54:04 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/weapons/projectiles/SplitGunProjectile.h
r11052 r11108 28 28 29 29 /** 30 @file IceGunProjectile.h30 @file SplitGunProjectile.h 31 31 @brief Definition of the SplitGunProjectile class. 32 32 */ … … 40 40 #include "tools/Timer.h" 41 41 #include "BillboardProjectile.h" 42 #include "sound/WorldSound.h" 42 43 43 44 namespace orxonox … … 55 56 public: 56 57 SplitGunProjectile(Context* context); 57 virtual ~SplitGunProjectile() {}58 virtual ~SplitGunProjectile(); 58 59 59 60 virtual void setNumberOfSplits(int numberOfSplits); … … 62 63 virtual void setSpread(float spread); 63 64 virtual void setDamageReduction(float damageReduction); 65 virtual void setSplitSound(const std::string& soundPath, const float soundVolume = 1.0); 64 66 65 67 private: … … 70 72 float damageReduction_; //The damage of a child projectile is reduced by this factor 71 73 Timer splitTimer_; 74 WorldSound* splitSound_; //Sound played if the projectile splits 72 75 73 76 virtual void split();
Note: See TracChangeset
for help on using the changeset viewer.