Owen Cavender 201159294

Dependencies:   mbed

Revision:
2:ffbfd3f53ee2
Parent:
1:897160a1a3ae
diff -r 897160a1a3ae -r ffbfd3f53ee2 GameEngine.h
--- a/GameEngine.h	Tue May 26 12:17:59 2020 +0000
+++ b/GameEngine.h	Sat May 30 06:12:09 2020 +0000
@@ -4,34 +4,42 @@
 #include "mbed.h"
 #include "N5110.h"
 #include "Gamepad.h"
-
-
+#include "snake.h"
 
 
-class GameEngine
-{
+/** GameEngine Class 
+* Owen Cavender, University of Leeds
+*/
 
+class GameEngine {
+    
 
 public:
-    GameEngine();
-    ~GameEngine();
-
-
-    void init(int shx, int shy, int apx, int apy);
-    void set_Snakehead(Vector2D Snakehead);
-    void set_Applepos(N5110 &lcd);
-    Vector2D get_Snakehead();
-    Vector2D get_Applepos();
-//void clear_Applepos();
+    GameEngine();   
+    /**comstructor
+    */       
+    ~GameEngine();   
+     /**decomstructor
+    */         
+    
+    
+    void print_scores(N5110 &lcd, Snake &snake);
+        /**comstructor
+    *  prints the score of the game while in game loop
+    */
+    void get_LEDs(Gamepad &pad, Snake &snake);
+    /**turn on and off leds depending on snake head position
+    */ 
+    void print_countdown(N5110 &lcd, Snake &snake);
+    /** prints countdown counter on each loop
+    */
 
 
 private:
-    int _shx;
-    int _shy;
-    int _apx;
-    int _apy;
+
+
 
 };
 
 
-#endif
+#endif
\ No newline at end of file