![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
contains my game for the embedded systems project 2645
Dependencies: mbed FXOS8700CQQQ
Diff: GameEngine/RocketRacer.h
- Revision:
- 40:13b8467526d0
- Parent:
- 36:30dde2e7aa11
--- a/GameEngine/RocketRacer.h Fri May 03 16:57:52 2019 +0000 +++ b/GameEngine/RocketRacer.h Tue May 07 15:17:21 2019 +0000 @@ -203,6 +203,11 @@ * @param pad @details calls the Gamepad object to be passed to the methods called inside this method */ void Game_Loop_accelerometer(N5110 &lcd,Gamepad &pad); + /** + * @brief method that generates one random enemy + * @details seeds the rand function then generate a random enemy between 1->3 + */ + void Generate_One_Enemy(); @@ -213,6 +218,7 @@ int enemy_phase; int game_speed; int score; + float pitchAngle; char Init_position; bool enemy_dead; bool control;