Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed wave_player 4DGL-uLCD-SE MMA8452
startmenu.h
00001 #ifndef STARTMENU_H 00002 #define STARTMENU_H 00003 00004 class Menu 00005 { 00006 00007 public: 00008 int button_presses; 00009 int terminate; 00010 Menu() : terminate(0), button_presses(0){} 00011 int get_action(GameInputs); 00012 virtual int update(int) = 0; 00013 virtual void draw(int) = 0; 00014 int display(); 00015 00016 }; 00017 00018 00019 class StartMenu : public Menu{ 00020 private: 00021 int start; 00022 int quit; 00023 int start_color; 00024 int quit_color; 00025 int third_color; 00026 public: 00027 StartMenu(); 00028 int o_instructions(); 00029 int update(int); 00030 void draw(int); 00031 int display(); 00032 }; 00033 00034 #endif //STARTMENU_H
Generated on Fri Jul 15 2022 03:29:10 by
