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