- Timestamp:
- Dec 11, 2009, 2:15:43 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/orxonox/sound/AmbientSound.h
r6307 r6322 50 50 public: 51 51 AmbientSound(BaseObject* creator); 52 virtual~AmbientSound();52 ~AmbientSound(); 53 53 54 v irtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);55 v irtual void XMLEventPort(Element& xmlelement, XMLPort::Mode mode);56 v irtual void changedActivity();54 void XMLPort(Element& xmlelement, XMLPort::Mode mode); 55 void XMLEventPort(Element& xmlelement, XMLPort::Mode mode); 56 void changedActivity(); 57 57 58 v irtual void play();59 v irtual void stop();60 v irtual void pause();58 void play(); 59 void stop(); 60 void pause(); 61 61 62 virtualfloat getVolumeGain();62 float getVolumeGain(); 63 63 64 v irtual void setAmbientSource(const std::string& source);64 void setAmbientSource(const std::string& source); 65 65 const std::string& getAmbientSource() const { return this->ambientSource_; } 66 66 inline void ambientSourceChanged(){ this->setAmbientSource(this->ambientSource_); }
Note: See TracChangeset
for help on using the changeset viewer.