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