Snake vs Block Game to be run upon K64F.

Dependencies:   mbed

Revision:
76:7fa91122907f
Parent:
67:39b9ba6019b0
Child:
83:329da564799a
diff -r f00c79f79b6a -r 7fa91122907f MenuClasses/StartScreen/StartScreen.h
--- a/MenuClasses/StartScreen/StartScreen.h	Sun May 05 13:04:09 2019 +0000
+++ b/MenuClasses/StartScreen/StartScreen.h	Sun May 05 15:00:34 2019 +0000
@@ -87,13 +87,13 @@
     *
     *   This function displays game_mode contents.
     */
-    void showModeOptions(N5110 &lcd);
+    void selectMode(N5110 &lcd, Gamepad &pad);
 
     /** Selecting the game mode
     *
     *   value of g_mode is changed in this function that allows the choise beteen joystick/motion control..
     */
-    void selectMode(Gamepad &pad);
+    void scrollModeSelection(Gamepad &pad);
 
     /** Motion Control Instructions
     *
@@ -106,18 +106,19 @@
     *   This function obtains the user input on the game speed that suits them.
     */
     void game_speed(N5110 &lcd, Gamepad &pad);
+    
+    /** Displaying GAME speed Contents
+    *
+    *   This function just displays game_speed contents.
+    */
+    void selectSpeed(N5110 &lcd, Gamepad &pad);
 
     /** Implementing GS
     *
     *   This function just decides what has to be done next.
     */
-    void selectSpeedPage(Gamepad &pad);
+    void scrollSpeedSelection(Gamepad &pad);
 
-    /** Displaying GAME speed Contents
-    *
-    *   This function just displays game_speed contents.
-    */
-    void showSpeedOptions(N5110 &lcd);
 
     //SETTING THE GAME SPEED AND GAME MODE.
     int fps; // this sends over the game speed