mirror of
https://github.com/lov3b/Schack.git
synced 2024-11-10 07:00:11 +01:00
Update PieceKnownIfMoved.java
This commit is contained in:
parent
182c02cbf6
commit
89bcffdf1a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user