contains my game for the embedded systems project 2645
Dependencies: mbed FXOS8700CQQQ
Diff: GameEngine/RocketRacer.h
- Revision:
- 25:7e3b6df93dd5
- Parent:
- 22:3e6ff378d651
- Child:
- 27:771d186b1bc8
--- a/GameEngine/RocketRacer.h Fri Apr 19 22:10:51 2019 +0000 +++ b/GameEngine/RocketRacer.h Sat Apr 20 16:13:13 2019 +0000 @@ -1,12 +1,12 @@ #ifndef ROCKETRACER_H #define ROCKETRACER_H - #include "mbed.h" #include "N5110.h" #include <cstdlib> #include <ctime> #include "Gamepad.h" + /** RocketRacer class @brief C++ class containing the game methods and the interface @@ -115,7 +115,11 @@ * @param phase @details the phase of the rocket */ void enemy_position(N5110 &lcd,int place, int phase); - + /** + * @brief method that plays the gameover melody + *@param pad @details calls the Gamepad object to be passed to the method called inside this method + */ + void End_Game_Melody(Gamepad &pad); private: int first_enemy_position;