/// <summary> /// Adds an action to the end of the global queue, at the specified offset /// </summary> protected void QueueAction(PriorityAction action, int endOffset) { if (endOffset == 0) { QueueAction(action); } else { actions.Insert(actions.Count + endOffset, action); } }
/// <summary> /// Adds an action to the end of the global queue /// </summary> protected void QueueAction(PriorityAction action) { actions.Add(action); }