Class SimpleMazeGenerator
java.lang.Object
mazealgo.model.algorithms.mazeGenerators.AMazeGenerator
mazealgo.model.algorithms.mazeGenerators.SimpleMazeGenerator
- All Implemented Interfaces:
IMazeGenerator
Scatters walls randomly across the grid, then carves a guaranteed path
from start to goal so the maze always has a solution (and usually many).
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class mazealgo.model.algorithms.mazeGenerators.AMazeGenerator
measureAlgorithmTimeMillis, sanitize
-
Constructor Details
-
SimpleMazeGenerator
public SimpleMazeGenerator()
-
-
Method Details
-
generate
Description copied from interface:IMazeGeneratorGenerates a maze with the given number of rows and columns.- Specified by:
generatein interfaceIMazeGenerator- Specified by:
generatein classAMazeGenerator
-