Simplified isSteppable in Gate
This commit is contained in:
parent
fd18cc72d0
commit
c4ed7807cb
@ -26,10 +26,7 @@ public class Gate extends Tile {
|
||||
@Override
|
||||
public boolean isSteppable()
|
||||
{
|
||||
if (open)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
return open;
|
||||
}
|
||||
|
||||
public boolean isOpen() {
|
||||
|
Loading…
Reference in New Issue
Block a user