Browse Source

update

main
fdai4581 2 years ago
parent
commit
4123340fdc
  1. 3
      src/main/java/BattleShip/GridGUI.java

3
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) {

Loading…
Cancel
Save