v0.3.2: reworked floor 10 and the tengu fight (lots of changes)

This commit is contained in:
Evan Debenham
2015-11-01 21:45:58 -05:00
parent c1356e0752
commit da0e6c686c
8 changed files with 480 additions and 299 deletions
@@ -151,25 +151,21 @@ public class PrisonLevel extends RegularLevel {
case Terrain.BOOKSHELF:
return "This is probably a vestige of a prison library. Might it burn?";
default:
return super.tileDesc( tile );
return super.tileDesc(tile);
}
}
@Override
public void addVisuals( Scene scene ) {
super.addVisuals( scene );
addVisuals( this, scene );
}
public static void addVisuals( Level level, Scene scene ) {
super.addVisuals(scene);
for (int i=0; i < LENGTH; i++) {
if (level.map[i] == Terrain.WALL_DECO) {
if (map[i] == Terrain.WALL_DECO) {
scene.add( new Torch( i ) );
}
}
}
private static class Torch extends Emitter {
public static class Torch extends Emitter {
private int pos;