All the units of this team that are in space. You cannot see units on the other team that are in space.
(&self)
| 509 | /// All the units of this team that are in space. You cannot see units |
| 510 | /// on the other team that are in space. |
| 511 | pub fn units_in_space(&self) -> Vec<Unit> { |
| 512 | self.my_team().units_in_space.values().map(|u| u.clone()).collect() |
| 513 | } |
| 514 | |
| 515 | /// The karbonite at the given location. |
| 516 | /// |