v0.9.3: increased pit room min size to prevent 3x3 wraith fights
This commit is contained in:
parent
5bc836dcc7
commit
6060fc2861
|
@ -35,6 +35,12 @@ import com.watabou.utils.Random;
|
||||||
|
|
||||||
public class PitRoom extends SpecialRoom {
|
public class PitRoom extends SpecialRoom {
|
||||||
|
|
||||||
|
@Override //increase min size slightly to prevent tiny 3x3 wraith fights
|
||||||
|
public int minWidth() { return 6; }
|
||||||
|
public int minHeight() {
|
||||||
|
return 6;
|
||||||
|
}
|
||||||
|
|
||||||
public void paint( Level level ) {
|
public void paint( Level level ) {
|
||||||
|
|
||||||
Painter.fill( level, this, Terrain.WALL );
|
Painter.fill( level, this, Terrain.WALL );
|
||||||
|
|
Loading…
Reference in New Issue
Block a user