Mortal Kombat Game ELEC2645

Dependencies:   mbed N5110 ShiftReg Joystick

Committer:
ozy
Date:
Tue Apr 13 10:06:02 2021 +0000
Revision:
0:99b49fd71085
Child:
1:3bdadf6f6dbd
Sprite moving and Debugging menu class

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ozy 0:99b49fd71085 1 #ifndef MENU_H
ozy 0:99b49fd71085 2 #define MENU_H
ozy 0:99b49fd71085 3 #include <iostream>
ozy 0:99b49fd71085 4 #include "mbed.h"
ozy 0:99b49fd71085 5 #include "N5110.h"
ozy 0:99b49fd71085 6
ozy 0:99b49fd71085 7 class Menu
ozy 0:99b49fd71085 8 {
ozy 0:99b49fd71085 9 public:
ozy 0:99b49fd71085 10 Menu(); // constructor
ozy 0:99b49fd71085 11 int get_user_input(DigitalIn &buttonA, DigitalIn &buttonB, DigitalIn &buttonC, DigitalIn &buttonD);
ozy 0:99b49fd71085 12 void select_item(char button);
ozy 0:99b49fd71085 13 void go_back_to_main_menu();
ozy 0:99b49fd71085 14 // below are the items from the GUI
ozy 0:99b49fd71085 15 void main_menu(N5110 &lcd);
ozy 0:99b49fd71085 16 void draw_logo(N5110 &lcd, int x, int y); // draw logo on x y coordinates
ozy 0:99b49fd71085 17 void A_to_start(N5110 &lcd);
ozy 0:99b49fd71085 18 void created_by(N5110 &lcd);
ozy 0:99b49fd71085 19 void homescreen(N5110 &lcd);
ozy 0:99b49fd71085 20 void play(N5110 &lcd);
ozy 0:99b49fd71085 21 void tutorial(N5110 &lcd);
ozy 0:99b49fd71085 22 void options_menu(N5110 &lcd);
ozy 0:99b49fd71085 23 void ingame_options_menu();
ozy 0:99b49fd71085 24 void select_map();
ozy 0:99b49fd71085 25 };
ozy 0:99b49fd71085 26
ozy 0:99b49fd71085 27 #endif