Whether there is an asteroid strike at the given round.
(&self, round: Rounds)
| 521 | |
| 522 | /// Whether there is an asteroid strike at the given round. |
| 523 | pub fn has_asteroid(&self, round: Rounds) -> bool { |
| 524 | self.pattern.get(&round).is_some() |
| 525 | } |
| 526 | |
| 527 | /// Get the asteroid strike at the given round. |
| 528 | /// |