AirsoftTimer software based on mbed
Dependencies: mbed TextLCD keypad
Diff: games/GameSelector.h
- Revision:
- 17:19dbb1dbb640
- Parent:
- 10:afc22465169e
- Child:
- 18:abcebc4d0da0
--- a/games/GameSelector.h Sat May 23 18:36:54 2015 +0000 +++ b/games/GameSelector.h Sat May 23 20:17:54 2015 +0000 @@ -3,7 +3,7 @@ #include "../board/Board.h" -class GameSelector{ +class GameSelector : public ButtonListener{ Board* board; void print_up_down_arrows(); void print_selection_arrow(); @@ -16,11 +16,15 @@ int current_selection; int total_selections; + int selected_game; + char* titles[7]; + virtual void buttonEvent(char c); + public: GameSelector(Board* board); - void run(); + int select(); }; #endif \ No newline at end of file