public void NextSkill() { skill_sorting++; if ((int)skill_sorting > 4) { skill_sorting = SKILL_SORTING.SPECIALIST; } 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 SetSkillPredicate(SKILL_SORTING predicate) { this.skill_sorting = predicate; HallOfFame.Instance().Sort(); }