Simplified isSteppable in Gate
This commit is contained in:
parent
fd18cc72d0
commit
c4ed7807cb
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user