Пример #1
0
    private async Task CreateRoundMVCAsync()
    {
        RoundModel roundModel = RoundFactory.Instance.CreateRoundModel();
        RoundView  roundView  = await RoundFactory.Instance.CreateRoundView(_view.GameAreaView);

        _roundController = RoundFactory.Instance.CreateRoundController(roundModel, roundView);

        _roundController.Initialize();

        _timeController.RequestCurrentScore += _roundController.OnRequestCurrentScore;
        RoundFinish += _roundController.OnRoundFinish;
    }