@Beta public class GrowingTreeMazeGenerator extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
GrowingTreeMazeGenerator.ChoosingMethod |
Constructor and Description |
---|
GrowingTreeMazeGenerator(int width,
int height) |
GrowingTreeMazeGenerator(int width,
int height,
RNG rng) |
Modifier and Type | Method and Description |
---|---|
boolean[][] |
create(GrowingTreeMazeGenerator.ChoosingMethod choosing)
Builds and returns a boolean mapping of a maze using the provided chooser method object.
|
public GrowingTreeMazeGenerator(int width, int height)
public GrowingTreeMazeGenerator(int width, int height, RNG rng)
public boolean[][] create(GrowingTreeMazeGenerator.ChoosingMethod choosing)
choosing
- the callback object for making the split decisionCopyright © 2012–2016. All rights reserved.