Esempio n. 1
0
 public void NextSkill()
 {
     sortingSkill++;
     if ((int)sortingSkill > 4)
     {
         sortingSkill = SortableSkills.Specialist;
     }
     HallOfFame.Instance().Sort();
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
 public void SetSkillPredicate(SortableSkills predicate)
 {
     sortingSkill = predicate;
     HallOfFame.Instance().Sort();
 }