示例#1
0
        private void SetDifficulty(Difficulty.DifficultyLevel difficulty)
        {
            _randomizer.ClearList();

            // Populate question list based on a category
            foreach (var question in _questions.Where(i => i.Difficulty == difficulty))
            {
                _randomizer.AddToList(question);
            }
        }
示例#2
0
        private void SetDifficulty(Difficulty.DifficultyLevel difficulty)
        {
            _randomizer.ClearList();

            // Populate question list based on a category
            foreach (var puzzle in _rebusPuzzleCollections.Where(i => i.Difficulty == difficulty))
            {
                _randomizer.AddToList(puzzle.Image);
            }
        }
示例#3
0
        private void StartGame()
        {
            TimerManager.OnPreGameTimerEndEvent -= StartGame;

            _timerManager.StartTimerAt(1, 0f);

            _currentDifficulty = Difficulty.DifficultyLevel.Easy;

            SetDifficulty(_currentDifficulty);

            DisplayAnswerOption();
        }