contains my game for the embedded systems project 2645

Dependencies:   mbed FXOS8700CQQQ

Revision:
33:24ef796ff2c8
Parent:
31:4d4a9d78cae5
Child:
37:b0e7e44503af
--- a/GameMenus/Menus.h	Mon Apr 29 17:34:37 2019 +0000
+++ b/GameMenus/Menus.h	Fri May 03 00:27:52 2019 +0000
@@ -6,7 +6,7 @@
  
  /** Menus class
 
-@brief C++ class containing the game menu and the interface
+@brief C++ class containing the game menus and the interface
 
 @version 1.0
 
@@ -34,9 +34,10 @@
     setup();
     menus.welcomeMenu(pad,lcd); 
     menus.InstructionsMenu(pad,lcd);
-    //keeps looping untill the player loses
+    //keeps looping to display main menu and method calls
     while(1){
-        Rocket_Racer.Game_Loop(lcd,pad);
+        //displays main menu and each related method call when button pressed 
+        menus.drawMenu(lcd,pad); 
     }
 
 
@@ -98,6 +99,7 @@
   * @param lcd @details calls the lcd object to be passed to the methods called inside this method
   */
   void SecondInstructionsMenu(N5110 &lcd);
+  
   private:
   RocketRacer Rocket_Race;
   GameTones tone;