Browse Source

refactoring:

main
fdai4581 2 years ago
parent
commit
0d5981c697
  1. 2
      src/main/java/BattleShip/GridGUI.java

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

@ -8,7 +8,7 @@ import java.awt.event.ActionListener;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Random; import java.util.Random;
public class GridGUI {
public class GridGUI extends JPanel {
ArrayList<BSButton> buttons = new ArrayList<BSButton>(); ArrayList<BSButton> buttons = new ArrayList<BSButton>();
ArrayList<Ship> allShips = new ArrayList<Ship>(); ArrayList<Ship> allShips = new ArrayList<Ship>();

Loading…
Cancel
Save