Ben Evans / Mbed 2 deprecated Defender_Game

Dependencies:   mbed

Revision:
41:5959256f4aab
Parent:
40:71f947254fda
Child:
42:3aed75338272
--- a/GameEngine/GameEngine.h	Sun May 17 21:12:34 2020 +0000
+++ b/GameEngine/GameEngine.h	Sun May 17 23:40:34 2020 +0000
@@ -40,6 +40,23 @@
     private:
     // Function prototypes -----------------------------------------------------
     
+    // Menu Control
+        /** Switch statement to run run different menu options */
+        void game_select_part();
+        
+        /** Runs the menu */
+        void run_menu();
+                
+        /** Runs the play game part of menu */
+        void run_play();
+        
+        /** Runs settings part of games */
+        void run_settings();
+        
+        /** Runs settings part of games*/
+        void run_saved_games();
+        
+    
     //Spaceship Control      
         /** Gets joystick direction from gamepad and stores it in d_ */
         void read_joystick_direction();
@@ -111,6 +128,10 @@
         void reset_map();
          
     // Variables ---------------------------------------------------------------
+    
+    // Menu Control 
+    
+        MenuParts current_menu_part_;
           
     //Spacehip Control  
         /** Define points*/