getPiece return fromX
This commit is contained in:
parent
183e8d8316
commit
1227f21177
|
|
@ -14,5 +14,8 @@ public class Move {
|
|||
this.toY = toY;
|
||||
this.capturedPiece = capturedPiece;
|
||||
}
|
||||
|
||||
public Piece getPiece() {
|
||||
return fromX;
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue