Browse Source

update

main
fdai4581 2 years ago
parent
commit
fa8af110fb
  1. 6
      src/main/java/BattleShip/GridGUI.java

6
src/main/java/BattleShip/GridGUI.java

@ -97,7 +97,13 @@ public class GridGUI extends JPanel {
} }
} }
} }
for(int i = 0; i < shipLength; i++) {
buttons.get(testLocations[i]).setCellContents(s);
}
testLocations = null;
} }
} }
public boolean getClicked() {return clicked;} public boolean getClicked() {return clicked;}
public void setClicked() { public void setClicked() {

Loading…
Cancel
Save