Browse Source

Refactoring: Coordinate target is private now

fleetstorm
Max Wenzel 3 years ago
committed by Lorenz Hohmann
parent
commit
7db470de84
  1. 2
      src/main/java/de/tims/fleetstorm/ai/Logic.java

2
src/main/java/de/tims/fleetstorm/ai/Logic.java

@ -10,7 +10,7 @@ public class Logic {
private Matchfield matchfield; private Matchfield matchfield;
private Coordinate lastShot; private Coordinate lastShot;
public Coordinate target;
private Coordinate target;
private boolean foundShip = false; private boolean foundShip = false;
private boolean clearedAbove = false; private boolean clearedAbove = false;
private boolean clearedBelow = false; private boolean clearedBelow = false;

Loading…
Cancel
Save