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:
- 44:a6a361bea806
- Parent:
- 30:711d722f3cef
- Child:
- 45:fe5fc85a5c73
File content as of revision 44:a6a361bea806:
#ifndef MENU_H #define MENU_H #include "mbed.h" #include "N5110.h" #include "Gamepad.h" #include "Ship.h" class Menu { public: Menu(); ~Menu(); // Displays title screen void init(int ycursor); void title(N5110 &lcd, SHIP shipUsed); void update(Direction d); int get_ycursor(); int get_xcursor(); void disp_ships(N5110 &lcd); //void Menu::scroll(N5110 &lcd, Direction d); private: int _xcursor; int _ycursor; }; #endif