Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 23, 2009, 8:45:56 PM (16 years ago)
Author:
rgrieder
Message:

Mood changes should now be working and with immediate (but delayed because of loading) effect.

File:
1 edited

Legend:

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

    r6382 r6406  
    3434
    3535#include "core/BaseObject.h"
    36 #include "sound/BaseSound.h"
    3736#include "network/synchronisable/Synchronisable.h"
     37#include "BaseSound.h"
     38#include "MoodManager.h"
    3839
    3940namespace orxonox
     
    4445     *
    4546     */
    46     class _OrxonoxExport AmbientSound : public BaseSound, public BaseObject, public Synchronisable
     47    class _OrxonoxExport AmbientSound : public BaseSound, public BaseObject, public Synchronisable, public MoodListener
    4748    {
    4849        friend class SoundManager;
     
    7475        void registerVariables();
    7576        float getRealVolume();
     77        void moodChanged(const std::string& mood);
    7678        inline void ambientSourceChanged()
    7779            { this->setAmbientSource(this->ambientSource_); }
Note: See TracChangeset for help on using the changeset viewer.