SoundManager class final

Public static functions

static auto Instance() -> SoundManager&

Constructors, destructors, conversion operators

SoundManager(SoundManager const&) deleted

Public functions

auto operator=(SoundManager const&) -> SoundManager& deleted
auto loadSFX(const std::string& path, const std::string& id) -> bool
auto loadMusic(const std::string& path, const std::string& id) -> bool
void playSFX(const std::string& id, const int loop = 0) const
void playMusic(const std::string& id, const int loop = 0) const
void setVolume(const int percent)
void changeVolume(const int percent)
auto getVolume() const -> int
void setVolumeMusic(const float percent)
void setVolumeSFX(const float percent)
void muteSFX()
void unMuteSFX()
void toggleMuteSFX()
auto isMutedSFX() const -> bool
void muteMusic()
void unMuteMusic()
void toggleMuteMusic()
auto isMutedMusic() const -> bool
void clean()