Esempio n. 1
0
 public void Queue(Activity activity)
 {
     if (NextActivity != null)
     {
         NextActivity.Queue(activity);
     }
     else
     {
         NextActivity = activity;
     }
 }
Esempio n. 2
0
 public virtual void Queue(Actor self, Activity activity)
 {
     if (NextActivity != null)
     {
         NextActivity.Queue(self, activity);
     }
     else
     {
         NextActivity = activity;
     }
 }