Whether the location is on the map and within the vision range.
(&self, location: MapLocation)
| 575 | |
| 576 | /// Whether the location is on the map and within the vision range. |
| 577 | pub fn can_sense_location(&self, location: MapLocation) -> bool { |
| 578 | self.ok_if_can_sense_location(location).is_ok() |
| 579 | } |
| 580 | |
| 581 | /// Whether there is a unit with this ID within the vision range. |
| 582 | pub fn can_sense_unit(&self, id: UnitID) -> bool { |
nothing calls this directly
no test coverage detected