diff --git a/src/main/java/BattleShip/GridGUI.java b/src/main/java/BattleShip/GridGUI.java index 7756d31..155bfee 100644 --- a/src/main/java/BattleShip/GridGUI.java +++ b/src/main/java/BattleShip/GridGUI.java @@ -1,5 +1,8 @@ package BattleShip; +import javax.swing.*; +import javax.swing.border.Border; +import java.awt.*; import java.util.ArrayList; import java.util.Random; @@ -11,6 +14,10 @@ public class GridGUI { int numOfGuesses = 0; int rows; int columns; + boolean clicked = false; + boolean endGame = false; + Color darkRed = new Color(100, 80, 0); + Border loweredBevel = BorderFactory.createLoweredBevelBorder(); Ship destroyer = new Ship(2, "destroyer"); Ship cruiser = new Ship(3, "cruiser");