5#ifndef RHYTHMGAME_SOUND_H
6#define RHYTHMGAME_SOUND_H
8#include <spdlog/spdlog.h>
A sound that can be played.
Definition Sound.h:25
virtual auto getVolume() const -> float=0
Gets the volume of the sound.
virtual auto isPlaying() const -> bool=0
Is the sound playing right now?
virtual void setVolume(float volume)=0
Sets the volume of the sound.
virtual void play()=0
Plays the sound.
virtual void stop()=0
Stops the sound.
The namespace for all sound related classes.
Definition HitRules.h:16