Mochu Yao explorer game
Dependencies: mbed
Diff: menu/Menu.h
- Revision:
- 22:f8ba0ab7465c
- Parent:
- 21:349c70c8a7de
- Child:
- 23:7be9701fc1b8
--- a/menu/Menu.h Tue Apr 28 14:26:47 2020 +0000 +++ b/menu/Menu.h Tue Apr 28 16:58:19 2020 +0000 @@ -53,12 +53,14 @@ Menu(); ~Menu(); void init(); + void run_engine(N5110 &lcd, Gamepad &gamepad); + void run_game(N5110 &lcd, Gamepad &gamepad); + + +private: void display_page1(N5110 &lcd, Gamepad &gamepad); void display_page2(N5110 &lcd, Gamepad &gamepad); - void run_engine(N5110 &lcd, Gamepad &gamepad); - void run_game(N5110 &lcd, Gamepad &gamepad); - -private: + void get_output(N5110 &lcd, Gamepad &gamepad); void get_input(bool start, bool back, bool b); Gameengine _game_engine; int _input_value;