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.h
- Revision:
- 40:a1cdb6ab08af
- Parent:
- 38:a85bc227b907
--- a/Map/Map.h Thu May 09 01:58:36 2019 +0000 +++ b/Map/Map.h Thu May 09 10:52:00 2019 +0000 @@ -114,11 +114,11 @@ * @brief Get whether a coordinate in the game map is assigned a '1' or a '0' * @param coord - 2D vector of the x and y coordinates of the desired point * @returns - * true - coordinate contains a '1' - * false - coordinate contains a '0' + * 1 - coordinate contains a '1' + * 0 - coordinate contains a '0' * @details Method included for testing purposes rather than use in game code */ - bool get_coordinate(Vector2D coord); + int get_coordinate(Vector2D coord); private: