Adventure game written for ECE2035 at the Georgia Institute of Technology

Dependencies:   mbed wave_player 4DGL-uLCD-SE MMA8452

Revision:
5:93a4c396c1af
Parent:
4:cdc54191ff07
--- a/startmenu.h	Tue May 22 19:13:03 2018 +0000
+++ b/startmenu.h	Sat Oct 26 15:44:26 2019 +0000
@@ -3,28 +3,32 @@
 
 class Menu
 {
-private: 
+
+public:
     int button_presses;
-    int num_options;
-    //std::vector <int> option_colors;
-    //std::vector <int> option_enable;
-    int b2presses;
+    int terminate;
+    Menu() : terminate(0), button_presses(0){}
+    int get_action(GameInputs);
+    virtual int update(int) = 0;
+    virtual void draw(int) = 0;
+    int display();
+    
+};
+
+
+class StartMenu : public Menu{
+private: 
     int start;
     int quit;
     int start_color;
     int quit_color;
     int third_color;
-    int current_item;
-
-public:
-    Menu(int);
-    int get_action(GameInputs);
+public: 
+    StartMenu();
+    int o_instructions();
     int update(int);
     void draw(int);
     int display();
-    int o_instructions();
-    //you can just implement the options in the new classes
-    //void add_option(char[], Func*); //second argument needs to be a function pointer
 };
 
 #endif //STARTMENU_H
\ No newline at end of file