public PriorActionHandler(int priority, UsePlayer action, string name = "") { Priority = priority; Name = name; Action += action; }
public void AddHandler(UsePlayer action, int priority = 0, string name = "") { Handlers.Add(new PriorActionHandler(priority, action, name)); }