Esempio n. 1
0
 /// Enqueue a secondary action that is a consequence of this one.
 public void AddAction(Action action, Actor actor = null)
 {
     action.Bind(actor ?? Actor, false);
     actions.Add(action);
 }
Esempio n. 2
0
 public ActionResult alternate(Action action)
 {
     action.Bind(Actor, ConsumesEnergy);
     return(new ActionResult(action));
 }