mirror of
https://github.com/lov3b/Schack.git
synced 2025-01-18 21: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.awt.Point;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.util.ArrayList;
|
|
||||||
|
|
||||||
public abstract class PieceKnownIfMoved extends Piece {
|
public abstract class PieceKnownIfMoved extends Piece {
|
||||||
|
|
||||||
@ -12,10 +11,6 @@ public abstract class PieceKnownIfMoved extends Piece {
|
|||||||
super(isWhite, startingPosition);
|
super(isWhite, startingPosition);
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isSeen(ArrayList<Piece> pieces) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void move(Piece[][] pieces, Point toMove) {
|
public void move(Piece[][] pieces, Point toMove) {
|
||||||
super.move(pieces, toMove);
|
super.move(pieces, toMove);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user