Progress on Maze Generation
* Finished implementing link planning for mazes. Doors aren't placed yet because that's up to Decorators and those haven't been implemented yet. * Added bounding walls to mazes. * Added decay effects to mazes.
This commit is contained in:
@@ -4,16 +4,16 @@ import java.util.ArrayList;
|
||||
|
||||
public class MazeDesign
|
||||
{
|
||||
private PartitionNode root;
|
||||
private PartitionNode<RoomData> root;
|
||||
private DirectedGraph<RoomData, DoorwayData> layout;
|
||||
|
||||
public MazeDesign(PartitionNode root, DirectedGraph<RoomData, DoorwayData> layout)
|
||||
public MazeDesign(PartitionNode<RoomData> root, DirectedGraph<RoomData, DoorwayData> layout)
|
||||
{
|
||||
this.root = root;
|
||||
this.layout = layout;
|
||||
}
|
||||
|
||||
public PartitionNode getRootPartition()
|
||||
public PartitionNode<RoomData> getRootPartition()
|
||||
{
|
||||
return root;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user