diff --git a/src/main/java/BattleShip/Direction.java b/src/main/java/BattleShip/Direction.java index c14f5bd..785838f 100644 --- a/src/main/java/BattleShip/Direction.java +++ b/src/main/java/BattleShip/Direction.java @@ -5,4 +5,12 @@ public class Direction { int countHits; int cellLocation; + public void setCount(int a) { + countHits = a; + } + + public int getCount() { + return countHits; + } + }