Commit f0224daa authored by Terence Martin's avatar Terence Martin

Refactor Maze generation

This shifts the code that generates the maze into its own class, which
shortens up and clarifies the Maze code itself and also makes it
easier to tweak generation in the future, since it will be self
parent 549186a3
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -69,7 +69,7 @@ module
// Trigger a new maze generation.
case KeyCodes.KEY_G:
this._maze.generateMaze (true);
this._maze.generateMaze ();
return true;
// Toggle mouse tracking of the debug location, then update the
......@@ -12,6 +12,7 @@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment