Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 21, 2009, 5:28:13 PM (16 years ago)
Author:
youngk
Message:

Ambient Sounds are now locationally triggerable, i.e if the player comes close to an object, it's own ambient sound starts playing, while the sound of the outer object is paused. Upon leaving proximity of that object, the old sound is resumed. —> Triggerable by changing active state.

File:
1 edited

Legend:

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

    r5929 r5982  
    4949        virtual ~BaseSound();
    5050
    51         void play();
    52         void stop();
    53         void pause();
     51        virtual void play();
     52        virtual void replay();      // is only needed for the AmbientSound list in SoundManager
     53        virtual void stop();
     54        virtual void pause();
    5455
    5556        bool isPlaying();
Note: See TracChangeset for help on using the changeset viewer.