Ejemplo n.º 1
0
    public InputStateManager(GameController ParaGameController)
    {
        MainGameController = ParaGameController;
        // 不能再构造函数中call find函数
        //MainInputStateBase.Initialize();
        MainInputStateBase = new InputStateBase();
        MainInputStateBase.SetGameController(MainGameController);

        InputStateOfName.Add("SelectInitialHandCard", new SelectInitialHandCard());
        InputStateOfName.Add("Idle", new Idle());
        InputStateOfName.Add("PieceOperation", new PieceOperation());
        InputStateOfName.Add("HandCardOperation", new HandCardOperation());
    }