Ejemplo n.º 1
0
 public void QueueChild(Activity activity)
 {
     if (ChildActivity != null)
     {
         ChildActivity.Queue(activity);
     }
     else
     {
         ChildActivity = activity;
     }
 }
Ejemplo n.º 2
0
 public virtual void QueueChild(Actor self, Activity activity, bool pretick = false)
 {
     if (ChildActivity != null)
     {
         ChildActivity.Queue(self, activity);
     }
     else
     {
         ChildActivity = pretick ? ActivityUtils.RunActivity(self, activity) : activity;
     }
 }