+ son de clic quand on clique.

This commit is contained in:
MarcEricMartel
2023-12-13 10:55:58 -05:00
parent b840e3ad19
commit aacfb880f0
6 changed files with 84 additions and 18 deletions

View File

@@ -15,10 +15,12 @@
class Audio {
private:
irrklang::ISound* m_music;
irrklang::ISound* m_menumusic;
bool m_music_on = true;
public:
Audio();
Audio(const char* music);
Audio(const char* music, const char* menumusic);
~Audio();
irrklang::ISoundEngine* m_engine;
@@ -30,7 +32,12 @@ public:
//void PlaySong(const char* music);
void ToggleMusicState();
void ToggleMusicState(GameState state);
void playSound(const char* sound);
void SetMusic(bool ison, GameState state);
bool GetMusic();
void PauseEngine();