Simplified isSteppable in Gate

This commit is contained in:
Bokros Bálint 2016-05-14 13:11:10 +02:00
parent fd18cc72d0
commit c4ed7807cb

View File

@ -26,10 +26,7 @@ public class Gate extends Tile {
@Override @Override
public boolean isSteppable() public boolean isSteppable()
{ {
if (open) return open;
return true;
return false;
} }
public boolean isOpen() { public boolean isOpen() {