added better builder for executor
This commit is contained in:
parent
ee59d342a1
commit
a7ce6ffb56
4 changed files with 93 additions and 8 deletions
|
@ -44,3 +44,7 @@ fn generation() {
|
|||
let text = maze.display(None);
|
||||
println!("{text}");
|
||||
}
|
||||
|
||||
pub trait MazeGenerator {
|
||||
fn generate(&mut self) -> Maze;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue