Browse Source

update

main
fdai4581 2 years ago
parent
commit
2312ee54d4
  1. 6
      src/main/java/BattleShip/GridGUI.java

6
src/main/java/BattleShip/GridGUI.java

@ -104,7 +104,11 @@ public class GridGUI {
cell.setBackground(Color.red); cell.setBackground(Color.red);
} }
} }
for(Ship sh : allShips) {
if(!sh.isKilled()) {
gameOver = false;
}
}
} }
} }
} }
Loading…
Cancel
Save