diff --git a/src/main/java/BattleShip/AIGridGUI.java b/src/main/java/BattleShip/AIGridGUI.java index dcb864b..0a4a986 100644 --- a/src/main/java/BattleShip/AIGridGUI.java +++ b/src/main/java/BattleShip/AIGridGUI.java @@ -538,5 +538,8 @@ public class AIGridGUI extends JPanel { } } } + public boolean Ships() { + return shipsPlaced; + } }