Changeset 8516 in orxonox.OLD for branches/bsp_model/src/world_entities/npcs/generic_npc.h
- Timestamp:
- Jun 16, 2006, 2:53:00 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/world_entities/npcs/generic_npc.h
r8515 r8516 11 11 12 12 #include <string> 13 // 14 #include "sound_source.h" 13 15 16 namespace OrxSound{ class SoundSource; } 17 namespace OrxSound{ class SoundBuffer; } 14 18 15 19 class TiXmlElement; … … 26 30 27 31 void setAnimation(int animationIndex, int animPlaybackMode); 32 /** sets the sound volume to @param vol: volume of the sound */ 33 inline void setVolume(float vol) { this->soundVolume = vol; } 28 34 29 35 bool playAnimation(int animationIndex, int animPlaybackMode); … … 37 43 38 44 private: 39 45 OrxSound::SoundSource soundSource; 46 OrxSound::SoundBuffer* soundBuffer; 47 float soundVolume; 40 48 }; 41 49
Note: See TracChangeset
for help on using the changeset viewer.