From edb74ada3b2623d989955dfb12dbd026ba35d67f Mon Sep 17 00:00:00 2001 From: fdai4581 Date: Tue, 7 Feb 2023 22:10:57 +0100 Subject: [PATCH] update --- src/main/java/BattleShip/GridGUI.java | 3 +++ 1 file changed, 3 insertions(+) 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; + } }