#include <soundList.h>
Public Member Functions | |
| SoundLoopManager (Sound *snd, bool _active=true) | |
| void | activate (int dummy) |
| void | fadeOut (int ms) |
| ~SoundLoopManager () | |
A sound may be preloaded, later activated and this class assures that it is closed again. Or it simply can be loaded with a running sound and stops it on destruction
Definition at line 19 of file soundList.h.
| SoundLoopManager::SoundLoopManager | ( | Sound * | snd, | |
| bool | _active = true | |||
| ) |
| SoundLoopManager::~SoundLoopManager | ( | ) | [inline] |
| void SoundLoopManager::activate | ( | int | dummy | ) |
Definition at line 50 of file soundList.cpp.
References displayLogMessage(), and Sound::playLoop().
Referenced by MoveUnit::runAction().
| void SoundLoopManager::fadeOut | ( | int | ms | ) | [inline] |
Definition at line 26 of file soundList.h.
References Sound::fadeOut().
Referenced by MoveUnit::runAction().
1.5.1