cdnswicfjeqzipdo
This commit is contained in:
parent
f746b99554
commit
5aab9ded91
|
|
@ -1,5 +1,5 @@
|
||||||
7
|
2
|
||||||
false
|
true
|
||||||
Rook,0,0,false
|
Rook,0,0,false
|
||||||
Knight,1,0,false
|
Knight,1,0,false
|
||||||
Bishop,2,0,false
|
Bishop,2,0,false
|
||||||
|
|
@ -9,7 +9,7 @@ Bishop,5,0,false
|
||||||
Knight,6,0,false
|
Knight,6,0,false
|
||||||
Rook,7,0,false
|
Rook,7,0,false
|
||||||
Pawn,0,1,false
|
Pawn,0,1,false
|
||||||
Pawn,1,1,false
|
Pawn,1,3,false
|
||||||
Pawn,2,1,false
|
Pawn,2,1,false
|
||||||
Pawn,3,1,false
|
Pawn,3,1,false
|
||||||
Pawn,4,1,false
|
Pawn,4,1,false
|
||||||
|
|
|
||||||
|
|
@ -6,16 +6,6 @@ public class Piece {
|
||||||
private boolean isWhite;
|
private boolean isWhite;
|
||||||
private PieceType type;
|
private PieceType type;
|
||||||
|
|
||||||
/*private boolean enPassantEligible = false;
|
|
||||||
|
|
||||||
public boolean isEnPassantEligible() {
|
|
||||||
return enPassantEligible;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setEnPassantEligible(boolean eligible) {
|
|
||||||
this.enPassantEligible = eligible;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
public Piece(int x, int y, boolean isWhite, PieceType type) {
|
public Piece(int x, int y, boolean isWhite, PieceType type) {
|
||||||
this.x=x;
|
this.x=x;
|
||||||
this.y=y;
|
this.y=y;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue