Browse Source

update

main
fdai4581 2 years ago
parent
commit
de2e54110e
  1. 7
      src/main/java/BattleShip/GridGUI.java

7
src/main/java/BattleShip/GridGUI.java

@ -32,7 +32,14 @@ public class GridGUI extends JPanel {
rows = r;
columns = c;
}
public void build() {
allShips.add(destroyer);
allShips.add(cruiser);
allShips.add(submarine);
allShips.add(battleship);
allShips.add(aircraftCarrier);
}
public void setShipLocations() {

Loading…
Cancel
Save