diff --git a/src/main/java/BattleShip/GridGUI.java b/src/main/java/BattleShip/GridGUI.java index bc07ee9..5d2d702 100644 --- a/src/main/java/BattleShip/GridGUI.java +++ b/src/main/java/BattleShip/GridGUI.java @@ -135,6 +135,9 @@ public class GridGUI extends JPanel { bsb.setEnabled(true); } } + public String getText() { + return text; + } }