?? resulthandler.cs
字號:
using System;
using HRD.Core;
public class ResultHandler : IResultHandler
{
public void HandleResult(ChessStep[] steps)
{
Console.WriteLine("\r\n");
for(int i=0; i<steps.Length - 1; i++)
{
Console.WriteLine("{0} :", i+1);
HRD_Helper.ShowLayout(steps[i].layout);
Console.WriteLine("Move {0} {1}", steps[i].chessmanNum, steps[i].moveMethod);
Console.WriteLine();
}
Console.WriteLine("Got the Answer!");
HRD_Helper.ShowLayout(steps[steps.Length-1].layout);
}
public void HandleInfo(int currentStep)
{
Console.Write(".");
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -