public void MoveTo(int row, int col) { board.SetBoardPiece(this.row, this.col, null); this.row = row; this.col = col; board.SetBoardPiece(this.row, this.col, this); }
public void MoveTo(int row, int col) { board.SetBoardPiece(this.row, this.col, null); this.row = row; this.col = col; board.SetBoardPiece(this.row, this.col, this); }