Jahanzeb Khan / Mbed 2 deprecated ELEC2645_Project_el19jak

Dependencies:   mbed

Revision:
2:430dcf420840
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/food/food.h	Fri Jun 05 22:51:49 2020 +0000
@@ -0,0 +1,39 @@
+#ifndef FOOD_H
+#define FOOD_H
+
+#include "mbed.h"
+#include "N5110.h"
+#include "Gamepad.h"
+
+class Food
+{
+    
+public:
+    /** Constructor */
+    Food();
+    
+    /** Destructor */
+    ~Food();
+    
+    /** Initialises food object */
+    void init();
+    
+    /** sets location of food */
+    void food_location(N5110 &lcd);
+    
+    
+    /** All variables are public as need to be used by Body */
+    
+    /** sets location of food */
+    int fo_x;
+    int fo_y;
+    
+    /** changes location of food */
+    int chng_food;
+    
+private:
+    
+    
+};
+
+#endif
\ No newline at end of file