public void NextStatistic() { sortingStat++; if ((int)sortingStat > 9) { sortingStat = SortableStats.Name; } 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 SetStatsPredicate(SortableStats predicate) { sortingStat = predicate; HallOfFame.Instance().Sort(); }