v0.3.1: grim and worn traps are now always visible

This commit is contained in:
Evan Debenham 2015-08-11 01:25:08 -04:00 committed by Evan Debenham
parent ee44b5072e
commit 7a89def76f
2 changed files with 12 additions and 0 deletions

View File

@ -44,6 +44,12 @@ public class GrimTrap extends Trap {
shape = TrapSprite.LARGE_DOT;
}
@Override
public Trap hide() {
//cannot hide this trap
return reveal();
}
@Override
public void activate() {
Char target = Actor.findChar(pos);

View File

@ -31,6 +31,12 @@ public class WornTrap extends Trap {
shape = TrapSprite.DOTS;
}
@Override
public Trap hide() {
//this one can't be hidden
return reveal();
}
@Override
public void activate() {
GLog.i("nothing happens..");