added a comment to enpassant and thats it
This commit is contained in:
parent
4fadb597ab
commit
60569b6023
|
|
@ -157,7 +157,7 @@ public class Board {
|
|||
// Update its internal coordinates
|
||||
piece.setX(newX);
|
||||
piece.setY(newY);
|
||||
lastMove= new Move(oldX, oldY, newX, newY, piece);
|
||||
lastMove= new Move(oldX, oldY, newX, newY, piece);//tracks the last move made
|
||||
System.out.println(" Move saved: " + oldX + "," + oldY + " to " + newX + "," + newY);
|
||||
piece.setDidMove(true);// setting that the piece has been moved
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue