XJEL2645 (18/19) / Mbed 2 deprecated Snake_Project

Dependencies:   mbed FXOS8700Q

Revision:
0:bc1d36f5f772
Child:
2:b891a5841ee2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Food/Food.h	Sun May 05 14:06:00 2019 +0000
@@ -0,0 +1,34 @@
+#ifndef FOOD_H
+#define FOOD_H
+
+#include <math.h>
+#include <stdlib.h>
+#include "Gamepad.h"
+#include "mbed.h"
+#include "N5110.h"
+//libraries including
+
+struct pos{
+    
+    int x;
+    int y;
+    
+    }; //define position of food
+
+class Food{
+    
+    public:
+    
+            Food();
+            ~Food();
+            
+            void init();
+            void draw(N5110 &lcd);
+            void response();
+            pos returnPos();
+       
+    private:    
+    
+    
+};//define functions
+#endif