added better builder for executor

This commit is contained in:
JOLIMAITRE Matthieu 2022-05-30 01:38:13 +03:00
parent ee59d342a1
commit a7ce6ffb56
4 changed files with 93 additions and 8 deletions

View file

@ -44,3 +44,7 @@ fn generation() {
let text = maze.display(None);
println!("{text}");
}
pub trait MazeGenerator {
fn generate(&mut self) -> Maze;
}