コード例 #1
0
 public PriorActionHandler(int priority, UsePlayer action, string name = "")
 {
     Priority = priority;
     Name     = name;
     Action  += action;
 }
コード例 #2
0
 public void AddHandler(UsePlayer action, int priority = 0, string name = "")
 {
     Handlers.Add(new PriorActionHandler(priority, action, name));
 }