All the units within the vision range, by ID. Does not include units in space.
(&self)
| 497 | /// All the units within the vision range, by ID. |
| 498 | /// Does not include units in space. |
| 499 | pub fn units_by_id(&self) -> FnvHashMap<UnitID, Unit> { |
| 500 | self.my_planet().units.clone() |
| 501 | } |
| 502 | |
| 503 | /// All the units within the vision range, by location. |
| 504 | /// Does not include units in garrisons or in space. |