Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 21, 2009, 5:28:13 PM (15 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/AmbientSound.h

    r5929 r5982  
    4747        virtual ~AmbientSound();
    4848
     49        virtual void play();
     50        virtual void replay();      // is only needed for the AmbientSound list in SoundManager
     51        virtual void stop();
     52        virtual void pause();
     53
    4954        virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    5055        virtual void XMLEventPort(Element& xmlelement, XMLPort::Mode mode);
     56        virtual void changedActivity();
     57
    5158
    5259    private:
Note: See TracChangeset for help on using the changeset viewer.