diff --git a/cicaprojekt/Tile.java b/cicaprojekt/Tile.java index b8ef69a..ebf301e 100644 --- a/cicaprojekt/Tile.java +++ b/cicaprojekt/Tile.java @@ -83,10 +83,7 @@ public abstract class Tile { } public boolean hasZPM() { - if(zpmOnTile == null) - return false; - else - return true; + return zpmOnTile != null; } public boolean hasBox() {