ZIYI CHEN ml17z4c 201214999

Dependencies:   mbed

Revision:
8:52e0506e98b8
Parent:
7:8b6f175fcb0e
Child:
9:a8b2086a46e5
--- a/Food/Food.cpp	Tue Apr 30 09:14:17 2019 +0000
+++ b/Food/Food.cpp	Mon May 06 00:06:15 2019 +0000
@@ -18,9 +18,10 @@
     _x = x;
     _y = y;
     
-    printf("Food initialised\n");
+    printf("Food init\n");
 }
 
+
 int Food::getX()
 {
     return _x;
@@ -30,9 +31,8 @@
 {
     return _y;
 }
-
 void Food::random()
 {
     _x = rand() % 48;  //randomly generates a number between 0 and 21
     _y = rand() % 84;  
-}
\ No newline at end of file
+}