AirsoftTimer software based on mbed
Dependencies: mbed TextLCD keypad
Diff: games/GameSelector.h
- Revision:
- 10:afc22465169e
- Child:
- 17:19dbb1dbb640
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/games/GameSelector.h Sun Dec 14 11:50:19 2014 +0000 @@ -0,0 +1,26 @@ +#ifndef GAMESELECTOR_H +#define GAMESELECTOR_H + +#include "../board/Board.h" + +class GameSelector{ + Board* board; + void print_up_down_arrows(); + void print_selection_arrow(); + void print_list(); + + void go_down(); + void go_up(); + + int start_position; + int current_selection; + int total_selections; + + char* titles[7]; + + public: + GameSelector(Board* board); + void run(); +}; + +#endif \ No newline at end of file