James Cummins / Mbed 2 deprecated el17jnc

Dependencies:   mbed

Revision:
37:de1f584bce71
Parent:
36:9f7463a65fe0
Child:
38:a85bc227b907
--- a/Map/Map.cpp	Mon May 06 00:05:52 2019 +0000
+++ b/Map/Map.cpp	Mon May 06 21:44:49 2019 +0000
@@ -73,3 +73,10 @@
     }*/
     return collision;
 }
+
+bool Map::get_coordinate(Vector2D coord){
+    bool position;
+    if(gamemap[coord.y][coord.x] == 1){ position == true; }
+    else{ position == false; }
+    return position;
+}
\ No newline at end of file