Browse Source

update

main
fdai4581 2 years ago
parent
commit
1d244f2a5f
  1. 5
      src/main/java/BattleShip/Ship.java

5
src/main/java/BattleShip/Ship.java

@ -6,4 +6,9 @@ public class Ship {
int length; int length;
public int numOfHits = 0; public int numOfHits = 0;
boolean kill = false; boolean kill = false;
public Ship(int l, String n) {
length = l;
name = n;
}
} }
Loading…
Cancel
Save