getPiece return fromX

This commit is contained in:
MSI 2025-04-18 16:45:49 +02:00
parent 183e8d8316
commit 1227f21177
1 changed files with 4 additions and 1 deletions

View File

@ -14,5 +14,8 @@ public class Move {
this.toY = toY;
this.capturedPiece = capturedPiece;
}
public Piece getPiece() {
return fromX;
}
}