mirror of
https://github.com/lov3b/Schack.git
synced 2025-01-18 21:00:11 +01:00
autoformat
This commit is contained in:
parent
29df86030c
commit
07585efa6c
@ -10,7 +10,7 @@ public final class King extends PieceKnownIfMoved {
|
|||||||
public King(boolean isWhite, Point startingPosition) throws IOException {
|
public King(boolean isWhite, Point startingPosition) throws IOException {
|
||||||
super(isWhite, startingPosition);
|
super(isWhite, startingPosition);
|
||||||
setPieceIcon("King");
|
setPieceIcon("King");
|
||||||
supremeRuler= true;
|
supremeRuler = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isSeen(ArrayList<Piece> pieces) {
|
public boolean isSeen(ArrayList<Piece> pieces) {
|
||||||
@ -111,13 +111,9 @@ public final class King extends PieceKnownIfMoved {
|
|||||||
addCastlingIfCan(pieces, movable, position, position);
|
addCastlingIfCan(pieces, movable, position, position);
|
||||||
return movable;
|
return movable;
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean chechCheck(Piece[][] pieces, Point point ){
|
private boolean chechCheck(Piece[][] pieces, Point point) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user