Changeset 10944 for code/branches/particleEffectsHS15/src/modules/weapons/projectiles/MineProjectile.cc
- Timestamp:
- Dec 7, 2015, 4:01:06 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/particleEffectsHS15/src/modules/weapons/projectiles/MineProjectile.cc
r10911 r10944 164 164 /** 165 165 @brief 166 TODO166 XMLPort for MineProjectile. 167 167 */ 168 168 void MineProjectile::XMLEventPort(Element& xmlelement, XMLPort::Mode mode) … … 174 174 /** 175 175 @brief 176 TODO176 Max Time; after this time runs out,the Mine explodes. 177 177 */ 178 178 void MineProjectile::setMaxTimeUntilExplosion(float maxTimeUntilExplosion) … … 194 194 /** 195 195 @brief 196 T ODO196 The mine can only explode when the activation time has run out. 197 197 */ 198 198 void MineProjectile::setTimeUntilActivation(float timeUntilActivation) … … 208 208 /** 209 209 @brief 210 TODO210 Mine explodes, deals damage to pawn within range and destroys itself. 211 211 */ 212 212 void MineProjectile::explode() … … 234 234 /** 235 235 @brief 236 TODO236 Mine is ready to explode. 237 237 */ 238 238 void MineProjectile::allowExplosion() … … 247 247 } 248 248 249 /**250 @brief251 TODO252 */253 249 void MineProjectile::destructionEffect() 254 250 { … … 279 275 // Explosion sound effect. 280 276 WeakPtr<WorldSound> explosionSound_ = new WorldSound(getContext()); 281 explosionSound_->setSource("sounds/ GravityFieldExplosion.ogg");282 explosionSound_->setVolume( 1.0);277 explosionSound_->setSource("sounds/minesound.ogg"); 278 explosionSound_->setVolume(0.8); 283 279 explosionSound_->play(); 284 280 }
Note: See TracChangeset
for help on using the changeset viewer.