예제 #1
0
    // 发生行为
    private void Reaction(string act)
    {
        switch (act)
        {
        case "结束":
            EndADay();
            return;

        case "加":
            break;

        case "减":
            break;

        case "空":
            break;

        default:
            Debug.Log(act + "   在这里调用变形方法");
            PuzzleBoard.ChangeBoard(int.Parse(act));
            break;
        }
        Now += 1;
    }