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
public boolean isSteppable()
{
if (open)
return true;
return false;
return open;
}
public boolean isOpen() {