| 14 | SoundEffect::~SoundEffect() { Singletons::getSoundEffectProvider().removeSoundEffect(this); } |
| 15 | |
| 16 | void SoundEffect::play() { |
| 17 | if (_audioStream->isPlaying()) |
| 18 | _audioStream->stop(); |
| 19 | _audioStream->play(); |
| 20 | } |
| 21 | |
| 22 | bool SoundEffect::getIsPlaying() { return _audioStream->isPlaying(); } |
| 23 |
no test coverage detected