diff --git a/src/main/java/BattleShip/GridGUI.java b/src/main/java/BattleShip/GridGUI.java index 627c7b9..d537acd 100644 --- a/src/main/java/BattleShip/GridGUI.java +++ b/src/main/java/BattleShip/GridGUI.java @@ -24,5 +24,11 @@ public class GridGUI { public void setShipLocations() { + + for (Ship s : allShips) { + int shipLength = s.getLength(); + int clearSpace = 0; + testLocations = new int[shipLength]; + } } -} +} \ No newline at end of file diff --git a/target/classes/BattleShip/AIGridGUI.class b/target/classes/BattleShip/AIGridGUI.class index 487df6c..0daa0ac 100644 Binary files a/target/classes/BattleShip/AIGridGUI.class and b/target/classes/BattleShip/AIGridGUI.class differ diff --git a/target/classes/BattleShip/GridGUI.class b/target/classes/BattleShip/GridGUI.class deleted file mode 100644 index 104df17..0000000 Binary files a/target/classes/BattleShip/GridGUI.class and /dev/null differ