Browse Source

update

main
fdai4581 2 years ago
parent
commit
3da4edebf6
  1. 12
      src/main/java/BattleShip/Ship.java

12
src/main/java/BattleShip/Ship.java

@ -11,4 +11,16 @@ public class Ship {
length = l;
name = n;
}
public String getName() {
return name;
}
public int getLength() {
return length;
}
public boolean isKilled() {
return kill;
}
}
Loading…
Cancel
Save