change the boolean isCapturedpiece to Piece isCaptured
This commit is contained in:
parent
4f985c9abd
commit
a739fa2928
|
|
@ -32,7 +32,7 @@ public class Move {
|
|||
public Piece getCapturedPiece() {
|
||||
return capturedPiece;
|
||||
}
|
||||
public boolean isCapture() {
|
||||
public Piece isCapture() {
|
||||
return capturedPiece;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue