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