diff --git a/src/main/java/BattleShip/GridGUI.java b/src/main/java/BattleShip/GridGUI.java index 158f734..f7023f5 100644 --- a/src/main/java/BattleShip/GridGUI.java +++ b/src/main/java/BattleShip/GridGUI.java @@ -73,6 +73,8 @@ public class GridGUI { } } } + public boolean getClicked() {return clicked;} + public class MyCellListener implements ActionListener { public void actionPerformed(ActionEvent a) { if(!clicked) {