delete the print
This commit is contained in:
parent
ec1fc2a693
commit
63d217c010
|
|
@ -206,11 +206,9 @@ public class Board {
|
|||
if (pieces.get(whatPiece(x,y)).getX()==7 || pieces.get(whatPiece(this.x,this.y)).getX()==7) {//that means we are dealing with the right rooks for castling
|
||||
if (pieces.get(whatPiece(this.x,this.y)).isWhite()==true){
|
||||
kingWMoved = true;
|
||||
System.out.print("W");
|
||||
}
|
||||
else {
|
||||
kingBMoved = true;
|
||||
System.out.print("B");
|
||||
}
|
||||
pieces.get(whatPiece(7,y)).setX(5);
|
||||
pieces.get(whatPiece(4,y)).setX(6);
|
||||
|
|
|
|||
Loading…
Reference in New Issue