Snake vs Block Game to be run upon K64F.

Dependencies:   mbed

Revision:
95:b068b0735f45
Parent:
94:4e603bd6c381
--- a/GameObjects/Barriers/Barriers.cpp	Wed May 08 23:36:12 2019 +0000
+++ b/GameObjects/Barriers/Barriers.cpp	Thu May 09 08:35:02 2019 +0000
@@ -39,8 +39,8 @@
 {
     _lcd = lcd;
     reset = 0;
-    _barx = NULL;
-    _bary = NULL;
+    _barx = -100; //to make sure these coordinates do not interfere with any collisions as this is a default value if conditions do not satisfy,
+    _bary = -100; //(NULL is in range of collisions in this game and is therefore not used.
 }