| 33 | } |
| 34 | |
| 35 | TileArea Waypoint::GetTileArea(StationType type) const |
| 36 | { |
| 37 | switch (type) { |
| 38 | case StationType::RailWaypoint: return this->train_station; |
| 39 | case StationType::RoadWaypoint: return this->road_waypoint_area; |
| 40 | case StationType::Buoy: return {this->xy, 1, 1}; |
| 41 | default: NOT_REACHED(); |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | Waypoint::~Waypoint() |
| 46 | { |
no test coverage detected