sraaphorst / spelunker

Maze generation and solving library
Other
11 stars 2 forks source link

Make SquashedMaze a subclass of AbstractMaze #124

Open sraaphorst opened 6 years ago

sraaphorst commented 6 years ago

We cannot currently do this, because AbstractMaze has a width and height, and SquashedMaze does not.

Again, this is why we should have GraphMaze as our top-level maze, with AbstractMaze perhaps being renamed GridMaze, and SquashedMaze can then be a subclass of GraphMaze, as per #125.