v0.3.0c: centralized general sign placement logic, fixed a bug where traps would sometimes appear over signs.

This commit is contained in:
Evan Debenham
2015-06-05 11:24:36 -04:00
committed by Evan Debenham
parent 8a6b970c1f
commit 976ff5cb96
9 changed files with 18 additions and 56 deletions
@@ -196,13 +196,7 @@ public class SewerBossLevel extends RegularLevel {
}
}
while (true) {
int pos = roomEntrance.random();
if (pos != entrance) {
map[pos] = Terrain.SIGN;
break;
}
}
placeSign();
}
@Override