36 std::vector<map_location>& result);
44 std::vector<map_location>& result);
52 std::set<map_location>& result);
60 std::size_t radius, std::set<map_location>& result,
61 bool with_border=
false);
70 std::size_t radius, std::set<map_location>& result,
71 bool with_border,
const xy_pred &pred);
Encapsulates the map of the game.
virtual bool operator()(const map_location &) const =0
void get_tiles_in_radius(const map_location ¢er, const int radius, std::vector< map_location > &result)
Function that will add to result all locations within radius tiles of center (excluding center itself...
void get_tiles_radius(const map_location ¢er, std::size_t radius, std::set< map_location > &result)
Function that will add to result all locations within radius tiles of center (including center itself...
void get_tile_ring(const map_location ¢er, const int radius, std::vector< map_location > &result)
Function that will add to result all locations exactly radius tiles from center (or nothing if radius...
Encapsulates the map of the game.