From 89bcffdf1a15ba141ef6b3cdd95417e15215082c Mon Sep 17 00:00:00 2001 From: loveb Date: Thu, 5 May 2022 09:13:20 +0200 Subject: [PATCH] Update PieceKnownIfMoved.java --- src/schack/PieceKnownIfMoved.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/schack/PieceKnownIfMoved.java b/src/schack/PieceKnownIfMoved.java index 263a795..f63f8f1 100644 --- a/src/schack/PieceKnownIfMoved.java +++ b/src/schack/PieceKnownIfMoved.java @@ -2,7 +2,6 @@ package schack; import java.awt.Point; import java.io.IOException; -import java.util.ArrayList; public abstract class PieceKnownIfMoved extends Piece { @@ -12,10 +11,6 @@ public abstract class PieceKnownIfMoved extends Piece { super(isWhite, startingPosition); } - public boolean isSeen(ArrayList pieces) { - return true; - } - @Override public void move(Piece[][] pieces, Point toMove) { super.move(pieces, toMove);