public static void RemoveDifficulty(string difficulty) { if (DifficultyLevels.Contains(difficulty) && DifficultyLevels.Count > 1) { DifficultyLevels.Remove(difficulty); GlobalEvent.DispatchEvent(GameOptionEventEnum.DifficultyChange); SaveOption(); } }
public static void AddDifficulty(string difficulty) { if (!DifficultyLevels.Contains(difficulty)) { DifficultyLevels.Add(difficulty); GlobalEvent.DispatchEvent(GameOptionEventEnum.DifficultyChange); SaveOption(); } }