PriorityQueue<TElement, TPriority>.Enqueue Method
Namespace: Riptide.Utils
Assembly: RiptideNetworking.dll
Enqueue(TElement, TPriority)
Adds the specified element and associated priority to the PriorityQueue<TElement, TPriority>.
public void Enqueue(TElement element, TPriority priority)
Parameters
TElement | element |
The element to add. |
TPriority | priority |
The priority with which to associate the new element. |