예제 #1
0
        private IEnumerator SimonSongShowButtons(ReadingGameGame.SimonSongBPM songBpm)
        {
            yield return(game.WaitForPauseCO(songBpm.questionTime));

            // Vocabulary data
            game.Context.GetAudioManager()
            .PlayVocabularyData(game.CurrentQuestion.GetQuestion(), keeperMode: KeeperMode.LearningAndSubtitles,
                                autoClose: false);

            // Setup timer for the answer state
            game.AnswerState.ReadTime     = gameTime.Time;
            game.AnswerState.MaxTime      = gameTime.Duration;
            game.AnswerState.TutorialMode = TutorialMode;
            game.SetCurrentState(game.AnswerState);
        }