From 8ccd5739eb6dddbc31c77ce46b9a6a01d8456ed0 Mon Sep 17 00:00:00 2001 From: fdai4581 Date: Mon, 6 Feb 2023 20:32:07 +0100 Subject: [PATCH] add GridGUI class --- .idea/hellsgamers.iml | 2 ++ src/main/java/BattleShip/GridGUI.java | 15 +++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 src/main/java/BattleShip/GridGUI.java diff --git a/.idea/hellsgamers.iml b/.idea/hellsgamers.iml index c500079..2077af6 100644 --- a/.idea/hellsgamers.iml +++ b/.idea/hellsgamers.iml @@ -8,6 +8,8 @@ + + diff --git a/src/main/java/BattleShip/GridGUI.java b/src/main/java/BattleShip/GridGUI.java new file mode 100644 index 0000000..ba04ba2 --- /dev/null +++ b/src/main/java/BattleShip/GridGUI.java @@ -0,0 +1,15 @@ +package BattleShip; + +public class GridGUI { + + int[] testLocations; + int numOfGuesses = 0; + int rows; + int columns; + + public GridGUI(int r, int c) { + rows = r; + columns = c; + } + +}