Example #1
0
 public void MakeDungeon()
 {
     root = new OctTree(totalBounds);
     root.GenerateZones(depth, minRoomSize);
     roomNodeList = new LinkedList <RoomNode> ();
     GenerateRooms(root);
     ConnectRooms();
 }
Example #2
0
	// Use this for initialization
	void Start () {
		tree = new OctTree(totalBounds);
		tree.GenerateZones(depth,minRoomSize);
	}
Example #3
0
 public void MakeDungeon()
 {
     root = new OctTree (totalBounds);
             root.GenerateZones (depth, minRoomSize);
             roomNodeList = new LinkedList<RoomNode> ();
             GenerateRooms (root);
             ConnectRooms ();
 }
Example #4
0
 // Use this for initialization
 void Start()
 {
     tree = new OctTree(totalBounds);
     tree.GenerateZones(depth, minRoomSize);
 }