Changeset 6071 for code/branches/sound3/src/orxonox/sound/AmbientSound.h
- Timestamp:
- Nov 15, 2009, 10:36:45 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/sound3/src/orxonox/sound/AmbientSound.h
r6069 r6071 59 59 virtual void pause(); 60 60 61 virtual void setSource(const std::string& source); 61 virtual void setAmbientSource(const std::string& source); 62 const std::string& getAmbientSource() const { return this->ambientSource_; } 62 63 63 64 private: 64 void doPlay(); // Continue playing without re-registering the sound65 void doPlay(); 65 66 void doStop(); 66 67 void doPause(); 68 69 std::string ambientSource_; //!< Analogous to source_, but mood independent 67 70 }; 68 71 }
Note: See TracChangeset
for help on using the changeset viewer.