v2.3.0: cave rooms now have a 5x5 min size, prevents tunnel-like looks
This commit is contained in:
@@ -32,6 +32,16 @@ public class CaveRoom extends PatchRoom {
|
||||
return new float[]{4, 2, 1};
|
||||
}
|
||||
|
||||
@Override
|
||||
public int minHeight() {
|
||||
return Math.max(5, super.minHeight());
|
||||
}
|
||||
|
||||
@Override
|
||||
public int minWidth() {
|
||||
return Math.max(5, super.minWidth());
|
||||
}
|
||||
|
||||
@Override
|
||||
protected float fill() {
|
||||
//fill scales from ~30% at 4x4, to ~60% at 18x18
|
||||
|
||||
Reference in New Issue
Block a user