Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Interface/Sound.h
- Committer:
- el19zf
- Date:
- 2020-05-18
- Revision:
- 16:cf2bfada3adf
File content as of revision 16:cf2bfada3adf:
#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