Ejemplo n.º 1
0
 public void Add(AbilityPrioInfo ability)
 {
     this.abilities.Add(this.priotizedAbilityFactory(ability, this.abilities.Count + 1));
 }
Ejemplo n.º 2
0
 public PriotizedAbility(RequirementFactory requirementFactory, AbilityPrioInfo info, int priority)
 {
     this.info         = info;
     this.priority     = priority;
     this.requirements = info.Requirements.Select(requirementFactory.Create).ToArray();
 }