Update PieceKnownIfMoved.java

This commit is contained in:
loveb 2022-05-05 09:13:20 +02:00
parent 182c02cbf6
commit 89bcffdf1a

View File

@ -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<Piece> pieces) {
return true;
}
@Override
public void move(Piece[][] pieces, Point toMove) {
super.move(pieces, toMove);