/// <summary>
 /// 読み筋のところに表示する棋譜文字列の生成器の初期化
 /// </summary>
 private void InitKifuFormatter()
 {
     kifFormatter = new KifFormatterOptions
     {
         color   = ColorFormat.Piece,
         square  = SquareFormat.FullWidthMix,
         samepos = SamePosFormat.KI2sp,
         //fromsq = FromSqFormat.Verbose,
         fromsq = FromSqFormat.KI2, // 移動元を入れると棋譜ウィンドウには入り切らないので省略する。
     };
 }
Beispiel #2
0
        /// <summary>
        /// コンストラクタ
        ///
        /// このクラスが内部的なPositionのインスタンスも保持している。
        /// </summary>
        public KifuTree()
        {
            EnableKifuList = true;
            kifFormatter   = new KifFormatterOptions
            {
                color   = ColorFormat.Piece,
                square  = SquareFormat.FullWidthMix,
                samepos = SamePosFormat.KI2sp,
                //fromsq = FromSqFormat.Verbose,
                fromsq = FromSqFormat.KI2, // 移動元を入れると棋譜ウィンドウには入り切らないので省略する。
            };
            EnableUsiMoveList = true;

            position = new Position();
            Init();
        }