
Zeyu Feng 201377605
Dependencies: mbed
On Minerva
Diff: Interface/Sound.h
- Revision:
- 16:cf2bfada3adf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Interface/Sound.h Mon May 18 08:56:17 2020 +0000 @@ -0,0 +1,40 @@ +#ifndef SOUND_H +#define SOUND_H + +#include "Gamepad.h" +#include "SoundData.h" + +/** My Sound Class + *@author Zeyu Feng + *@brief set a sound during the game + *@data 17 May 2020 +*/ +class Sound +{ + +public: + /** Constructor */ + Sound(); + + /** Destructor */ + ~Sound(); + + /** menu sound */ + void menu_sound(Gamepad &pad); + + /** begin sound */ + void begin_sound(Gamepad &pad); + + /** sound after game over*/ + void over_sound(Gamepad &pad); + + /** sound after victory*/ + void vict_sound(Gamepad &pad); + + /** sound for count down*/ + void count_sound(Gamepad &pad); + +private: + +}; +#endif \ No newline at end of file