public override void AppendCheckNotation() { NotationAlgebraic += Promotion.Abbreviation(); NotationPGN += "=" + Promotion.Abbreviation(); NotationEnglish += "(" + Promotion.Abbreviation(true) + ")"; base.AppendCheckNotation(); if (Board.CheckIfMated(Piece.Side.Opposite()) == Piece.Side.GetVictoryStatus()) { NotationPGN += "#"; } else if (Board.IsInCheck(Piece.Side.Opposite())) { NotationPGN += "+"; } }
public override string ToStringCoordinate() { return(base.ToStringCoordinate() + "(" + Promotion.Abbreviation() + ")"); }