From 4d75a8bc8149cf8892465300e679e31f3c612c93 Mon Sep 17 00:00:00 2001 From: Thoumi Ngonga Brice Date: Tue, 7 Feb 2023 21:58:04 +0100 Subject: [PATCH] Refratoring background color --- src/main/java/BattleShip/AIGridGUI.java | 2 +- target/classes/BattleShip/AIGridGUI.class | Bin 10192 -> 10203 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/BattleShip/AIGridGUI.java b/src/main/java/BattleShip/AIGridGUI.java index c012d19..6f5522f 100644 --- a/src/main/java/BattleShip/AIGridGUI.java +++ b/src/main/java/BattleShip/AIGridGUI.java @@ -343,7 +343,7 @@ public class AIGridGUI extends JPanel { if(s == null) { //If no ship in that cell, mark as a miss. text = "Other player missed. Your turn."; - b.setBackground(Color.BLUE); + b.setBackground(Color.lightGray); } else { //Check if guess killed a ship. killed = s.counter(); diff --git a/target/classes/BattleShip/AIGridGUI.class b/target/classes/BattleShip/AIGridGUI.class index 0daa0ac17b3cf55e9f076a35f945f57470089c4b..a8a030ffb1c8da233f5ee849fe7fbe3c3ee18a24 100644 GIT binary patch delta 33 ocmccMf7^e97b7csN@7v=W^cwH9Go0!nMK7V9+@SZUAekt0o8E}`Tzg` delta 22 dcmccZf5Cr)7b7F{W`D*X988R9n*+GIWdUGp2WkKS