From 4123340fdc06863ab6dad7d3dba48bfb87cd7ba0 Mon Sep 17 00:00:00 2001 From: fdai4581 Date: Tue, 7 Feb 2023 21:50:06 +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 45401c3..9b8c21a 100644 --- a/src/main/java/BattleShip/GridGUI.java +++ b/src/main/java/BattleShip/GridGUI.java @@ -77,6 +77,9 @@ public class GridGUI { public void setClicked() { clicked = false; } + public boolean getEndGame() { + return endGame; + } public class MyCellListener implements ActionListener { public void actionPerformed(ActionEvent a) { if(!clicked) {