Example #1
0
    void SetController(string type)
    {
        switch (type) {
            case ApplicationData.GAME_STATE :
                controller = new GameController();
                break;
        }

        controller.SetData(gameModel, gameBehav, remoteService);
        controller.Init(SetController);
    }