v0.3.1: grim and worn traps are now always visible
This commit is contained in:
committed by
Evan Debenham
parent
ee44b5072e
commit
7a89def76f
@@ -44,6 +44,12 @@ public class GrimTrap extends Trap {
|
|||||||
shape = TrapSprite.LARGE_DOT;
|
shape = TrapSprite.LARGE_DOT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Trap hide() {
|
||||||
|
//cannot hide this trap
|
||||||
|
return reveal();
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void activate() {
|
public void activate() {
|
||||||
Char target = Actor.findChar(pos);
|
Char target = Actor.findChar(pos);
|
||||||
|
|||||||
@@ -31,6 +31,12 @@ public class WornTrap extends Trap {
|
|||||||
shape = TrapSprite.DOTS;
|
shape = TrapSprite.DOTS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Trap hide() {
|
||||||
|
//this one can't be hidden
|
||||||
|
return reveal();
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void activate() {
|
public void activate() {
|
||||||
GLog.i("nothing happens..");
|
GLog.i("nothing happens..");
|
||||||
|
|||||||
Reference in New Issue
Block a user