public void NextStatistic() { stats_sorting++; if ((int)stats_sorting > 9) { stats_sorting = STATS_SORTING.NAME; } HallOfFame.Instance().Sort(); }
public HallOfFameSorter(GameScenes scene, DIRECTION direction = DIRECTION.ASCENDING, SORT_MODE mode = SORT_MODE.STATISTIC, STATS_SORTING stats_sort = STATS_SORTING.NAME, SKILL_SORTING skill_sort = SKILL_SORTING.SPECIALIST) : base(scene) { this.direction = direction; this.mode = mode; this.stats_sorting = stats_sort; this.skill_sorting = skill_sort; }
public void SetStatsPredicate(STATS_SORTING predicate) { this.stats_sorting = predicate; HallOfFame.Instance().Sort(); }