Snake vs Block Game to be run upon K64F.

Dependencies:   mbed

Revision:
95:b068b0735f45
Parent:
83:329da564799a
Child:
97:819c0689efa7
--- a/GameObjects/SnakeFood/SnakeFood.cpp	Wed May 08 23:36:12 2019 +0000
+++ b/GameObjects/SnakeFood/SnakeFood.cpp	Thu May 09 08:35:02 2019 +0000
@@ -21,8 +21,8 @@
 {
     _lcd = lcd;
     reset = 0;
-    _fx = NULL;
-    _fy = NULL;
+    _fx = -100; //to make sure these coordinates do not interfere with any collisions as this is a default value if conditions do not satisfy,
+    _fy = -100; //(NULL is in range of collisions in this game and is therefore not used.
 }