sraaphorst / spelunker

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

Refactor MazeGenerators #131

Open sraaphorst opened 6 years ago

sraaphorst commented 6 years ago

There is no inherent reason why we need width and height to be a property of a MazeGenerator; we can simply pass all parameters into the generate method, and as far as I can tell, there is no good reason to not do so. The only possible concern is that this could possibly have some effect on the observer model, but I don't think it'll matter.