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 Gamepad N5110
Menu Class Reference
#include <Menu.h>
Public Member Functions | |
Menu () | |
Constructor. | |
~Menu () | |
Deconstructor. | |
void | init () |
intialises | |
void | title_intro (N5110 &lcd, Gamepad &pad) |
runs the title sequence | |
int | press_start (N5110 &lcd, Gamepad &pad) |
holds title screen and flashes 'press start' | |
int | select_input_main (Gamepad &pad, N5110 &lcd) |
displays main menu screen and takes in input to select next state | |
int | select_input_continue (Gamepad &pad, N5110 &lcd) |
displays continue menu screen and takes in input to select next state | |
void | print_highscore (N5110 &lcd, int highscore) |
displays highscore screen | |
float | print_settings (Gamepad &pad, N5110 &lcd) |
displays continue menu screen and takes in input to select next state |
Detailed Description
Menu Class.
class for containing menu screens
- Date:
- 9 May 2019
Definition at line 13 of file Menu.h.
Constructor & Destructor Documentation
Member Function Documentation
int press_start | ( | N5110 & | lcd, |
Gamepad & | pad | ||
) |
void print_highscore | ( | N5110 & | lcd, |
int | highscore | ||
) |
float print_settings | ( | Gamepad & | pad, |
N5110 & | lcd | ||
) |
int select_input_continue | ( | Gamepad & | pad, |
N5110 & | lcd | ||
) |
int select_input_main | ( | Gamepad & | pad, |
N5110 & | lcd | ||
) |
Generated on Fri Jul 15 2022 00:42:15 by
