| 120 | } |
| 121 | |
| 122 | std::vector<TileCoordsXY> PatrolArea::ToVector() const |
| 123 | { |
| 124 | std::vector<TileCoordsXY> result; |
| 125 | for (const auto& area : Areas) |
| 126 | { |
| 127 | for (const auto& pos : area.SortedTiles) |
| 128 | { |
| 129 | result.push_back(pos); |
| 130 | } |
| 131 | } |
| 132 | return result; |
| 133 | } |
| 134 | |
| 135 | const PatrolArea& GetMergedPatrolArea(const StaffType type) |
| 136 | { |
no test coverage detected