All the units within the vision range, in no particular order. Does not include units in space.
(&self)
| 485 | /// All the units within the vision range, in no particular order. |
| 486 | /// Does not include units in space. |
| 487 | pub fn units_ref(&self) -> Vec<&Unit> { |
| 488 | self.my_planet().units.values().collect::<Vec<&Unit>>() |
| 489 | } |
| 490 | |
| 491 | /// All the units within the vision range, in no particular order. |
| 492 | /// Does not include units in space. |