All the units within the vision range, in no particular order. Does not include units in space.
(&self)
| 305 | /// All the units within the vision range, in no particular order. |
| 306 | /// Does not include units in space. |
| 307 | pub fn units(&self) -> Vec<Unit> { |
| 308 | self.world.units() |
| 309 | } |
| 310 | |
| 311 | /// All the units on your team. |
| 312 | /// Does not include units in space. |