![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Adam Baker 201166301
Dependencies: mbed Gamepad N5110
Diff: Menu/Menu.h
- Revision:
- 36:6f452777b9ce
- Child:
- 37:23b6312c8315
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Menu/Menu.h Sun May 05 14:58:20 2019 +0000 @@ -0,0 +1,32 @@ +#ifndef MENU_H +#define MENU_H + +#include "mbed.h" +#include "Gamepad.h" +#include "N5110.h" +#include "BlockheadEngine.h" +#include "Runner.h" +#include "Levels.h" + +class Menu +{ +public: + Menu(); + ~Menu(); + + void init(); + + int select_input(Gamepad &pad, N5110 &lcd); + + +private: + + void print_main_menu(N5110 &lcd); + + int _select; + int _input; + int _stop; + +}; + +#endif \ No newline at end of file