} //always Vector2Int.up or Vector2Int.right (or null) public Partition(Vector2Int start, Vector2Int end, int depth, BSPSettings bspSettings, RoomSettings roomSettings, ConnectionSettings connectionSettings) { this.start = start; this.end = end; this.depth = depth; this.bspSettings = bspSettings; this.roomSettings = roomSettings; this.connectionSettings = connectionSettings; connection = new List <Shape>(); isFinal = false; }
public BSPDungeon(BSPSettings bspSettings, RoomSettings roomSettings, ConnectionSettings connectionSettings) { this.bspSettings = bspSettings; this.roomSettings = roomSettings; this.connectionSettings = connectionSettings; }