Changeset 7095 for code/branches/presentation3/src/orxonox/weaponsystem
- Timestamp:
- Jun 2, 2010, 11:18:00 PM (15 years ago)
- Location:
- code/branches/presentation3/src/orxonox/weaponsystem
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3/src/orxonox/weaponsystem/WeaponMode.cc
r6417 r7095 274 274 return BLANKSTRING; 275 275 } 276 277 void WeaponMode::setDefaultSoundWithVolume(const std::string& soundPath, const float soundVolume){ 278 if (this->defSndWpnFire_) { 279 this->defSndWpnFire_->setSource(soundPath); 280 this->defSndWpnFire_->setVolume(soundVolume); 281 } 282 } 283 276 284 } -
code/branches/presentation3/src/orxonox/weaponsystem/WeaponMode.h
r6417 r7095 55 55 void setDefaultSound(const std::string& soundPath); 56 56 const std::string& getDefaultSound(); 57 57 void setDefaultSoundWithVolume(const std::string& soundPath, const float soundVolume); 58 58 59 59 // Munition
Note: See TracChangeset
for help on using the changeset viewer.