correction sfx

This commit is contained in:
MarcEricMartel
2023-12-14 14:02:29 -05:00
parent 383a19cbd2
commit 1af88ba3e3
3 changed files with 40 additions and 21 deletions

View File

@@ -19,6 +19,7 @@ private:
float m_mainvolume;
float m_sfxvolume;
bool m_music_on = true;
std::vector<irrklang::ISound*> m_sfxes;
public:
Audio();
@@ -35,9 +36,11 @@ public:
//void PlaySong(const char* music);
void CleanupSFX();
void ToggleMusicState(GameState state);
void playSound(const char* sound);
void playSound(const char* sound, float volume);
void SetMusic(bool ison, GameState state);
bool GetMusic();