Changeset 9686 in orxonox.OLD for branches/new_class_id/src/lib/sound/sound_source.cc
- Timestamp:
- Aug 22, 2006, 2:36:54 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/sound/sound_source.cc
r8969 r9686 25 25 namespace OrxSound 26 26 { 27 NewObjectListDefinition(SoundSource); 27 28 /** 28 29 * @brief creates a SoundSource at position sourceNode with the SoundBuffer buffer … … 30 31 SoundSource::SoundSource(const PNode* sourceNode, const SoundBuffer* buffer) 31 32 { 32 this->setClassID(CL_SOUND_SOURCE, "SoundSource"); 33 33 this->registerObject(this, SoundSource::_objectList); 34 34 // adding the Source to the SourcesList of the SoundEngine 35 35 this->buffer = buffer; … … 51 51 SoundSource::SoundSource(const SoundSource& source) 52 52 { 53 this-> setClassID(CL_SOUND_SOURCE, "SoundSource");53 this->registerObject(this, SoundSource::_objectList); 54 54 55 55 // adding the Source to the SourcesList of the SoundEngine
Note: See TracChangeset
for help on using the changeset viewer.