diff --git a/src/main/java/BattleShip/Direction.java b/src/main/java/BattleShip/Direction.java index 29caf4c..19cedde 100644 --- a/src/main/java/BattleShip/Direction.java +++ b/src/main/java/BattleShip/Direction.java @@ -2,8 +2,8 @@ package BattleShip; public class Direction { - int countHits; - int cellLocation; + int countHits, cellLocation; + public void setCount(int a) { countHits = a;