package chess;

public class MoveData {
	private int toRow;
	private int toCol;
	private boolean isACapture;
	
	public MoveData(int row, int col, boolean capture) {
		toRow = row;
		toCol = col;
		isACapture = capture;
	}
	
	public int getRow() {
		return toRow;
	}
	
	public int getCol() {
		return toCol;
	}
	public boolean checkCapture() {
		return isACapture;
	}
}

@@ -11,16 +11,46 @@
 ess;%0D%0A%0D%0A
+import chess.pieces.Piece;%0D%0A%0D%0A
 public c
@@ -66,16 +66,44 @@
 Data %7B%0D%0A
+%09private Piece startPiece;%0D%0A
 %09private
@@ -136,16 +136,62 @@
 toCol;%0D%0A
+%09private int fromRow;%0D%0A%09private int fromCol;%0D%0A
 %09private
@@ -236,125 +236,444 @@
 ata(
+Piece startPiece, 
 int 
+f
 ro
+mRo
 w, int 
-col, boolean capture) %7B%0D%0A%09%09to
+fromCol, int toRow, int toCol, boolean capture) %7B%0D%0A%09%09this.startPiece = startPiece;%0D%0A%09%09this.from
 Row = 
+f
 ro
+mRo
 w;%0D%0A%09%09t
-oCol = col;%0D%0A%09%09isACapture = capture;%0D%0A%09%7D%0D%0A%09%0D%0A%09public int get
+his.fromCol = fromCol;%0D%0A%09%09this.toRow = toRow;%0D%0A%09%09this.toCol = toCol;%0D%0A%09%09isACapture = capture;%0D%0A%09%7D%0D%0A%09%0D%0A%09public Piece getPiece() %7B%0D%0A%09%09return startPiece;%0D%0A%09%7D%0D%0A%09%0D%0A%09public int getStartRow() %7B%0D%0A%09%09return fromRow;%0D%0A%09%7D%0D%0A%09%0D%0A%09public int getStartCol() %7B%0D%0A%09%09return fromCol;%0D%0A%09%7D%0D%0A%09%0D%0A%09public int getEnd
 Row(
@@ -716,16 +716,19 @@
  int get
+End
 Col() %7B%0D

Add from squares and calling piece data.