|
@ -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; |
|
|