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
Menu/Menu.h
- Committer:
- ikenna1
- Date:
- 2019-05-08
- Revision:
- 42:ee13e1d103d8
- Parent:
- 30:711d722f3cef
File content as of revision 42:ee13e1d103d8:
#ifndef MENU_H #define MENU_H #include "mbed.h" #include "N5110.h" #include "Gamepad.h" class Menu { public: Menu(); ~Menu(); // Displays title screen void init(int ycursor,N5110 *lcd, Gamepad *pad); void title(int shipno); void update(Direction d); int get_ycursor(); int get_xcursor(); void disp_ships(); //void Menu::scroll(N5110 &lcd, Direction d); private: int _xcursor; int _ycursor; Gamepad *_pad; N5110 *_lcd; }; #endif