Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 15, 2009, 10:36:45 PM (14 years ago)
Author:
rgrieder
Message:

Improved synchronisability of the sound classes (not yet Synchronisable though!).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/sound3/src/orxonox/sound/AmbientSound.h

    r6069 r6071  
    5959        virtual void pause();
    6060
    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_; }
    6263
    6364    private:
    64         void doPlay();      // Continue playing without re-registering the sound
     65        void doPlay();
    6566        void doStop();
    6667        void doPause();
     68
     69        std::string ambientSource_; //!< Analogous to source_, but mood independent
    6770    };
    6871}
Note: See TracChangeset for help on using the changeset viewer.