public void NextSkill() { sortingSkill++; if ((int)sortingSkill > 4) { sortingSkill = SortableSkills.Specialist; } HallOfFame.Instance().Sort(); }
public HallOfFameSorter(GameScenes scene, SortDirection sortingDirection = SortDirection.Ascending, SortMode mode = SortMode.Stat, SortableStats sortByStat = SortableStats.Name, SortableSkills sortBySkill = SortableSkills.Specialist) : base(scene) { this.sortingDirection = sortingDirection; this.sortMode = mode; this.sortingStat = sortByStat; this.sortingSkill = sortBySkill; }
public void SetSkillPredicate(SortableSkills predicate) { sortingSkill = predicate; HallOfFame.Instance().Sort(); }