v0.2.4: reworked final floor

This commit is contained in:
Evan Debenham
2015-02-22 02:26:30 -05:00
parent be563be012
commit cb5cd807b3
3 changed files with 64 additions and 28 deletions
@@ -63,9 +63,9 @@ public class DeadEndLevel extends Level {
entrance = SIZE * WIDTH + SIZE / 2 + 1;
map[entrance] = Terrain.ENTRANCE;
exit = -1;
exit = (SIZE / 2 + 1) * (WIDTH + 1);
map[(SIZE / 2 + 1) * (WIDTH + 1)] = Terrain.SIGN;
map[exit] = Terrain.SIGN;
return true;
}