change the boolean isCapturedpiece to Piece isCaptured

This commit is contained in:
MSI 2025-04-18 17:08:15 +02:00
parent 4f985c9abd
commit a739fa2928
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ public class Move {
public Piece getCapturedPiece() {
return capturedPiece;
}
public boolean isCapture() {
public Piece isCapture() {
return capturedPiece;
}
}