diff --git a/src/main/java/BattleShip/Ship.java b/src/main/java/BattleShip/Ship.java index 65609ee..292d55d 100644 --- a/src/main/java/BattleShip/Ship.java +++ b/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; + } }