コード例 #1
0
        public override string ToString()
        {
            string output = Notation.GetPieceLetter(Piece) + Notation.TileToText(From) + Notation.TileToText(To);

            if (Promotion != Piece.None)
            {
                output += "=" + Promotion.GetLetter();
            }

            return(output);
        }