(&mut self, team: Team)
| 2016 | } |
| 2017 | |
| 2018 | fn process_rockets(&mut self, team: Team) { |
| 2019 | let landings = self.get_team(team).rocket_landings.landings_on(self.round); |
| 2020 | for landing in landings.iter() { |
| 2021 | self.land_rocket(landing.rocket_id, landing.destination); |
| 2022 | self.viewer_changes.push(ViewerDelta::RocketLanding { |
| 2023 | rocket_id: landing.rocket_id, |
| 2024 | location: landing.destination |
| 2025 | }); |
| 2026 | } |
| 2027 | } |
| 2028 | |
| 2029 | // ************************************************************************ |
| 2030 | // ***************************** MANAGER API ****************************** |
no test coverage detected