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