Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Map/Map.cpp
- 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