Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make SquashedMaze a subclass of AbstractMaze #124

Open
sraaphorst opened this issue Jun 26, 2018 · 0 comments
Open

Make SquashedMaze a subclass of AbstractMaze #124

sraaphorst opened this issue Jun 26, 2018 · 0 comments
Labels
optional Optional feature: may not implement refactor Refactoring of the code squashedmaze A squashed representation of a maze into a minimal graph.

Comments

@sraaphorst
Copy link
Owner

sraaphorst commented Jun 26, 2018

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.

@sraaphorst sraaphorst added refactor Refactoring of the code squashedmaze A squashed representation of a maze into a minimal graph. optional Optional feature: may not implement labels Jul 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
optional Optional feature: may not implement refactor Refactoring of the code squashedmaze A squashed representation of a maze into a minimal graph.
Projects
None yet
Development

No branches or pull requests

1 participant