SealedRemove all elements from the queue.
Whether an element matching the condition function exists
SealedWhether the queue is empty
SealedReorder the queue before removing and returning the highest priority element.
The front-most element of the queue after sorting,
or undefined if the queue is empty.
Remove the first element in the queue matching a given condition.
If provided, will restrict the removal to only entries matching the given condition
Whether a removal occurred
ProtectedreorderSort the elements currently in the queue.
PrivatesortSort queued MovePhases after speed order has been applied.
Checks for timing modifiers (Quash/etc), innate move priority and
priority modifiers (Quick Claw/etc) in that order.
A priority queue responsible for the ordering of
MovePhases