- Timestamp:
- Nov 22, 2009, 4:01:16 PM (16 years ago)
- Location:
- code/branches/presentation2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2
- Property svn:mergeinfo changed
/code/branches/sound3 (added) merged: 5941,5943,5946,5954,5956-5957,5962,5982,6031,6046,6069-6072,6074,6088,6093,6097,6100,6102
- Property svn:mergeinfo changed
-
code/branches/presentation2/src/orxonox/sound/AmbientSound.h
r5929 r6117 22 22 * Author: 23 23 * Reto Grieder 24 * Kevin Young 24 25 * Co-authors: 25 26 * ... 26 27 * 27 28 */ 29 28 30 #ifndef _AmbientSound_H__ 29 31 #define _AmbientSound_H__ … … 43 45 class _OrxonoxExport AmbientSound : public BaseSound, public BaseObject 44 46 { 47 friend class SoundManager; 48 45 49 public: 46 50 AmbientSound(BaseObject* creator); … … 49 53 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 50 54 virtual void XMLEventPort(Element& xmlelement, XMLPort::Mode mode); 55 virtual void changedActivity(); 56 57 virtual void play(); 58 virtual void stop(); 59 virtual void pause(); 60 61 virtual void setAmbientSource(const std::string& source); 62 const std::string& getAmbientSource() const { return this->ambientSource_; } 51 63 52 64 private: 65 void doPlay(); 66 void doStop(); 67 void doPause(); 68 69 std::string ambientSource_; //!< Analogous to source_, but mood independent 53 70 }; 54 71 }
Note: See TracChangeset
for help on using the changeset viewer.