Changeset 10403 in orxonox.OLD for trunk/src/world_entities/sound_entity.cc
- Timestamp:
- Jan 27, 2007, 12:21:10 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/sound_entity.cc
r10368 r10403 41 41 this->soundSource.setSourceNode(this); 42 42 43 this->bInit = false; 44 43 45 if( root != NULL) 44 46 this->loadParams(root); … … 75 77 { 76 78 this->soundBuffer = OrxSound::ResourceSoundBuffer(fileName); 79 this->bInit = true; 77 80 } 78 81 … … 80 83 void SoundEntity::activate() 81 84 { 85 this->soundSource.play(); 82 86 } 83 87
Note: See TracChangeset
for help on using the changeset viewer.