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