Add reset button
This commit is contained in:
@@ -13,6 +13,9 @@ impl Engine {
|
||||
board,
|
||||
}
|
||||
}
|
||||
pub fn reset(&mut self) {
|
||||
self.board.reset()
|
||||
}
|
||||
pub fn get_state(&self) -> &board::Board {
|
||||
&self.board
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user