Closed sraaphorst closed 6 years ago
This was done as part of the PR for #66 - we now have AbstractMaze
, which handles maze dimensions, starting cell ending cells, and finding dead ends, as well as an AbstractMazeGenerator
, which handles dimensions.
We could easily create a parameterized superclass of the various
MazeGenerator
s instead of the three unrelated ones that there will be when I createGraphMazeGenerator
.This could be extended to various other things, like the maze types themselves, which would force and encapsulate some standard functions, like starting cell, ending cells, walls, etc.