Snake vs Block Game to be run upon K64F.

Dependencies:   mbed

Revision:
51:387249f9b333
Parent:
49:441c32f6603e
Child:
83:329da564799a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/GameEngine/WinLoose/WinLoose.h	Fri Apr 26 18:30:25 2019 +0000
@@ -0,0 +1,39 @@
+#ifndef WINLOOSE_H
+#define WINLOOSE_H
+
+#include "mbed.h"
+#include "N5110.h"
+#include "Gamepad.h"
+
+class WinLoose
+{
+    public:
+    
+    WinLoose();
+    ~WinLoose();
+    
+    /** Level Complete
+    *
+    *   This function prepares the game for the next level and initialises WinLoose and obtains required class addresses to use in other functions.
+    */
+    int LevelComplete(N5110 &lcd, Gamepad &pad, int level);
+    
+    /** Display Level
+    *
+    *   Displays the level on screen.
+    */
+    void displayLevel(N5110 &lcd, int level);
+    
+    /** Game Over
+    *
+    *   This function does the required tasks to implement a loosing screen.
+    */
+    void GameOver(N5110 &lcd, Gamepad &pad);
+
+    private:
+    char bufferlevel[14];  //this helps me print the level on screen.
+    
+    
+
+};
+#endif
\ No newline at end of file