Ahmed Adamjee
/
SnakeVSBlock
Snake vs Block Game to be run upon K64F.
Diff: StartScreen/StartScreen.h
- Revision:
- 34:89f53ffc81bb
- Parent:
- 33:249cf423fb18
- Child:
- 35:ce47cde57bd3
diff -r 249cf423fb18 -r 89f53ffc81bb StartScreen/StartScreen.h --- a/StartScreen/StartScreen.h Wed Apr 17 07:47:06 2019 +0000 +++ b/StartScreen/StartScreen.h Wed Apr 17 08:54:40 2019 +0000 @@ -50,7 +50,13 @@ * * This function just displays Menu Screen 1 contents. */ - void DisplaySc1Contents(N5110 &lcd, Gamepad &pad); + void DisplayMMContents(N5110 &lcd, Gamepad &pad); + + /** Implementing The First Menu Screen + * + * This function just implements the things decided in main menu. + */ + void ImplementMM(N5110 &lcd, Gamepad &pad, SDFileSystem &sd); /** The Second Menu Screen * @@ -58,6 +64,12 @@ */ void game_mode(N5110 &lcd, Gamepad &pad, SDFileSystem &sd); + /** Displaying GAME mode Contents + * + * This function just displays game_mode contents. + */ + void DisplayGMContents(N5110 &lcd, Gamepad &pad); + /** The Third Menu Screen * * This function obtains the user input on the game speed that suits them. @@ -72,6 +84,7 @@ int st; int sc; float cs; + int back_pressed; //remembers if back is pressed. private: int _level;