Browse Source

update

main
fdai4581 2 years ago
parent
commit
4e4a49d993
  1. 7
      src/main/java/BattleShip/Direction.java

7
src/main/java/BattleShip/Direction.java

@ -13,4 +13,11 @@ public class Direction {
return countHits; return countHits;
} }
public void setCell(int b) {
cellLocation = b;
}
public int getCell() {
return cellLocation;
}
} }
Loading…
Cancel
Save