Test strike timeout

This commit is contained in:
2022-10-17 08:35:49 +02:00
parent 171c88f303
commit fcc7f30e10
6 changed files with 43 additions and 6 deletions

View File

@ -53,6 +53,11 @@ impl GameRules {
self
}
pub fn with_strike_timeout(mut self, timeout: u64) -> Self {
self.strike_timeout = Some(timeout);
self
}
/// Set the list of boats for this configuration
pub fn set_boats_list(&mut self, boats: &[usize]) {
self.boats_str = boats