Get the rocket landings on this round.
(&self, round: Rounds)
| 77 | |
| 78 | /// Get the rocket landings on this round. |
| 79 | pub fn landings_on(&self, round: Rounds) -> Vec<RocketLanding> { |
| 80 | if let Some(landings) = self.landings.get(&round) { |
| 81 | landings.clone() |
| 82 | } else { |
| 83 | vec![] |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | /// All rocket landings, ordered by round. |
| 88 | pub fn all(&self) -> Vec<(Rounds, RocketLanding)> { |