All the units within the vision range, by location. Does not include units in garrisons or in space.
(&self)
| 503 | /// All the units within the vision range, by location. |
| 504 | /// Does not include units in garrisons or in space. |
| 505 | pub fn units_by_loc(&self) -> FnvHashMap<MapLocation, UnitID> { |
| 506 | self.my_planet().units_by_loc.clone() |
| 507 | } |
| 508 | |
| 509 | /// All the units of this team that are in space. You cannot see units |
| 510 | /// on the other team that are in space. |