public void RemoveAbility(BaseAbility a) { if (a != null && abilities.ContainsKey(a.GetKey())) { abilities.Remove(a.GetKey()); } }
public void AddAbility(string name, BaseAbility a) { abilities.Add(name, a); }