Owen Cavender 201159294

Dependencies:   mbed Gamepad2

Revision:
1:897160a1a3ae
Child:
2:44e4a6ecdbef
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/GameEngine.h	Tue May 26 12:17:59 2020 +0000
@@ -0,0 +1,37 @@
+#ifndef GAMEENGINE_H
+#define GAMEENGINE_H
+
+#include "mbed.h"
+#include "N5110.h"
+#include "Gamepad.h"
+
+
+
+
+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();
+
+
+private:
+    int _shx;
+    int _shy;
+    int _apx;
+    int _apy;
+
+};
+
+
+#endif