5#ifndef RHYTHMGAME_MULTISOUND_H
6#define RHYTHMGAME_MULTISOUND_H
22 std::vector<std::shared_ptr<Sound>> childSounds;
A sound that plays multiple underlying sounds simultaneously.
Definition MultiSound.h:21
void stop() override
Stops the sound.
Definition MultiSound.cpp:23
auto isPlaying() const -> bool override
Is the sound playing right now?
Definition MultiSound.cpp:39
auto getVolume() const -> float override
Gets the volume of the sound.
Definition MultiSound.cpp:50
void setVolume(float volume) override
Sets the volume of the sound.
Definition MultiSound.cpp:31
void play() override
Plays the sound.
Definition MultiSound.cpp:15
A sound that can be played.
Definition Sound.h:25
The namespace for all sound related classes.
Definition HitRules.h:16