From c7c667ff9c74ea41c3b4461a329c3161c4b02a52 Mon Sep 17 00:00:00 2001 From: fdai4581 Date: Mon, 6 Feb 2023 19:29:09 +0100 Subject: [PATCH] refactoring: --- src/main/java/BattleShip/BSButton.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/BattleShip/BSButton.java b/src/main/java/BattleShip/BSButton.java index 7042215..c9eb96e 100644 --- a/src/main/java/BattleShip/BSButton.java +++ b/src/main/java/BattleShip/BSButton.java @@ -2,7 +2,7 @@ package BattleShip; import javax.swing.*; -public class BSButton { +public class BSButton extends JButton { int gridLocation; Ship cellContents = null;