From 4398b8259b966d81dd5360bd9d94c05d2a48fd4d Mon Sep 17 00:00:00 2001 From: Max Wenzel Date: Fri, 14 Jan 2022 12:53:07 +0100 Subject: [PATCH] Refactoring: Coordinate target is private now --- src/main/java/de/tims/fleetstorm/ai/Logic.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/tims/fleetstorm/ai/Logic.java b/src/main/java/de/tims/fleetstorm/ai/Logic.java index 2c198d4..b05558e 100644 --- a/src/main/java/de/tims/fleetstorm/ai/Logic.java +++ b/src/main/java/de/tims/fleetstorm/ai/Logic.java @@ -10,7 +10,7 @@ public class Logic { private Matchfield matchfield; private Coordinate lastShot; - public Coordinate target; + private Coordinate target; private boolean foundShip = false; private boolean clearedAbove = false; private boolean clearedBelow = false;