public void Reset() { difficulty = DIFFICULTY_LEVELS.BEGINNER; gameTimer = 0; currentLevel = 1; reachedMaxDifficulty = false; }
void SetDifficulty(int level) { int multiple = MAX_DIFFICULTY / 10; if (level >= 1 && level <= MAX_DIFFICULTY / multiple) { difficulty = DIFFICULTY_LEVELS.BEGINNER; } else if (level > MAX_DIFFICULTY / 3 && level <= MAX_DIFFICULTY - (MAX_DIFFICULTY / multiple)) { difficulty = DIFFICULTY_LEVELS.INTERMEDIATE; } else { difficulty = DIFFICULTY_LEVELS.ADVANCED; } }