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 Gamepad N5110 mbed-rtos
Music/Music.h
- Committer:
- RexRoshan
- Date:
- 2019-05-09
- Revision:
- 0:d9cf94b41df3
File content as of revision 0:d9cf94b41df3:
#ifndef MUSIC_H #define MUSIC_H #include "Gamepad.h" #include "mbed.h" #include "rtos.h" /** Music Class * @brief Plays songs * @author Rex Roshan Raj */ class Music { public: /** Constructor */ Music(); /** Destructor */ ~Music(); /** Plays introduction song * @param Gamepad pad */ void intro_song(Gamepad &pad); /** Plays mission success song * @param Gamepad pad */ void mission_success(Gamepad &pad); /** Plays mission fail song * @param Gamepad pad */ void mission_fail(Gamepad &pad); private: Thread Thread; }; #endif