diff --git a/cicaprojekt/Gate.java b/cicaprojekt/Gate.java index 265bb58..6eb4faa 100644 --- a/cicaprojekt/Gate.java +++ b/cicaprojekt/Gate.java @@ -26,10 +26,7 @@ public class Gate extends Tile { @Override public boolean isSteppable() { - if (open) - return true; - - return false; + return open; } public boolean isOpen() {