示例#1
0
        protected override void OnInitialize(IGameContext context)
        {
            CalculateDifficulty();

            m_oRoundManager = new RoundManager(this);
            m_oRoundManager.Initialize();

            IntroductionState = new MissingLetterIntroductionState(this);
            QuestionState     = new MissingLetterQuestionState(this);
            PlayState         = new MissingLetterPlayState(this);
            ResultState       = new MissingLetterResultState(this);
            TutorialState     = new MissingLetterTutorialState(this);

            Context.GetOverlayWidget().Initialize(false, false, false);

            m_bInIdle = true;
        }
示例#2
0
        protected override void OnInitialize(IGameContext context)
        {
            PrepareParameters();

            m_oRoundManager = new RoundManager(this);
            m_oRoundManager.Initialize();

            IntroductionState = new MissingLetterIntroductionState(this);
            QuestionState     = new MissingLetterQuestionState(this);
            PlayState         = new MissingLetterPlayState(this);
            ResultState       = new MissingLetterResultState(this);
            TutorialState     = new MissingLetterTutorialState(this);

            Context.GetOverlayWidget().Initialize(false, false, false);

            m_bInIdle = true;

            DisableRepeatPromptButton();
        }