added method Tile.isSteppable() for obvious reasons...

This commit is contained in:
2016-05-13 17:59:14 +02:00
parent 39a442ba14
commit 06f4e32942
7 changed files with 48 additions and 4 deletions

View File

@ -18,6 +18,14 @@ public class Wall extends Tile {
return;
}
@Override
public boolean isSteppable() {
if (sg != null)
return true;
return false;
}
public void clearStargate() {
if(sg != null) {
sg.setCurrentWall(null);