public class DividedMazeGenerator extends Object
Constructor and Description |
---|
DividedMazeGenerator(int width,
int height)
Sets up the generator to make mazes the given width and height.
|
DividedMazeGenerator(int width,
int height,
RNG rng)
Sets up the generator to make mazes the given width and height.
|
public DividedMazeGenerator(int width, int height)
width
- height
- public DividedMazeGenerator(int width, int height, RNG rng)
width
- in cellsheight
- in cellsrng
- the random number generator to usepublic boolean[][] create()
Copyright © 2012–2016. All rights reserved.