Browse Source

update

main
fdai4581 2 years ago
parent
commit
7152084ac6
  1. 2
      src/main/java/BattleShip/GridGUI.java

2
src/main/java/BattleShip/GridGUI.java

@ -73,6 +73,8 @@ public class GridGUI {
} }
} }
} }
public boolean getClicked() {return clicked;}
public class MyCellListener implements ActionListener { public class MyCellListener implements ActionListener {
public void actionPerformed(ActionEvent a) { public void actionPerformed(ActionEvent a) {
if(!clicked) { if(!clicked) {

Loading…
Cancel
Save