- Timestamp:
- Dec 9, 2009, 10:09:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/orxonox/sound/AmbientSound.h
r6186 r6307 35 35 #include "core/BaseObject.h" 36 36 #include "sound/BaseSound.h" 37 #include "network/synchronisable/Synchronisable.h" 37 38 38 39 namespace orxonox … … 43 44 * 44 45 */ 45 class _OrxonoxExport AmbientSound : public BaseSound, public BaseObject 46 class _OrxonoxExport AmbientSound : public BaseSound, public BaseObject, public Synchronisable 46 47 { 47 48 friend class SoundManager; … … 63 64 virtual void setAmbientSource(const std::string& source); 64 65 const std::string& getAmbientSource() const { return this->ambientSource_; } 66 inline void ambientSourceChanged(){ this->setAmbientSource(this->ambientSource_); } 65 67 66 68 private: … … 68 70 void doStop(); 69 71 void doPause(); 72 73 void registerVariables(); 70 74 71 75 std::string ambientSource_; //!< Analogous to source_, but mood independent
Note: See TracChangeset
for help on using the changeset viewer.