From 367c313af3267e3f6bc1795a7ccaa25b6aee0b97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bokros=20B=C3=A1lint?= Date: Sat, 14 May 2016 13:03:16 +0200 Subject: [PATCH] Simplified isSteppable in Field --- cicaprojekt/Field.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cicaprojekt/Field.java b/cicaprojekt/Field.java index b3f85d6..2157327 100644 --- a/cicaprojekt/Field.java +++ b/cicaprojekt/Field.java @@ -7,10 +7,7 @@ public class Field extends cicaprojekt.Tile { @Override public boolean isSteppable() { - if (boxStack.isEmpty()) - return true; - - return false; + return boxStack.isEmpty(); } public void onEntry(PlayerBase playerBase) {