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.
Menu/Menu.h
- Committer:
- thestudent
- Date:
- 2020-05-09
- Revision:
- 18:8f7291885e19
- Parent:
- 17:cb208b15be5c
- Child:
- 19:913d123554ee
File content as of revision 18:8f7291885e19:
#ifndef MENU_H
#define MENU_H
#include "N5110.h"
#include "Gamepad.h"
#include "Objects.h"
class Menu
{
public:
//functions
Menu(N5110 &lcd,Gamepad &pad);
void first_screen();
void menu_screen();
string get_game_speed();
int pause_screen();
//variables
char print_speed[6];
private:
//classes
N5110 _lcd;
Gamepad _pad;
//variables
int _arrow_pos;
int _arrow_pos_settings;
string _game_speed;
};
#endif