Browse Source

add Ship class

main
fdai4581 2 years ago
parent
commit
1d2c014378
  1. 9
      src/main/java/BattleShip/Ship.java

9
src/main/java/BattleShip/Ship.java

@ -0,0 +1,9 @@
package BattleShip;
public class Ship {
String name;
int length;
public int numOfHits = 0;
boolean kill = false;
}
Loading…
Cancel
Save