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); } }
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); } }
private void StartGame() { TimerManager.OnPreGameTimerEndEvent -= StartGame; _timerManager.StartTimerAt(1, 0f); _currentDifficulty = Difficulty.DifficultyLevel.Easy; SetDifficulty(_currentDifficulty); DisplayAnswerOption(); }