/// <summary> /// Add an ability to the ability repository /// </summary> /// <param name="a"></param> private static void Put(Ability a) { repository.Add(a.name, a.AssignID()); }
public Ability(Ability a) : this(a.name, a.desc, a.icon, a.cooldownMax, a.chargesMax, a.effect) { this.id = a.id; }