public MoveContent(MoveContent moveContent) { MovingPiecePrimary = new PieceMoving(moveContent.MovingPiecePrimary); MovingPieceSecondary = new PieceMoving(moveContent.MovingPieceSecondary); TakenPiece = new PieceTaken(moveContent.TakenPiece.PieceColor, moveContent.TakenPiece.PieceType, moveContent.TakenPiece.Moved, moveContent.TakenPiece.Position); EnPassantOccured = moveContent.EnPassantOccured; PawnPromoted = moveContent.PawnPromoted; }
public MoveContent() { MovingPiecePrimary = new PieceMoving(ChessPieceType.None); MovingPieceSecondary = new PieceMoving(ChessPieceType.None); TakenPiece = new PieceTaken(ChessPieceType.None); }