v2.3.0: cave rooms now have a 5x5 min size, prevents tunnel-like looks

This commit is contained in:
Evan Debenham
2023-12-17 14:57:10 -05:00
parent a2fac80a42
commit 7d595da275

View File

@@ -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