Priority Queue for PostSummonPhase and PostSummonActivateAbilityPhase
PostSummonPhase
PostSummonActivateAbilityPhase
Orders phases first by ability priority, then by the Pokemon's effective speed
Protected
Removes all phases from the queue
Calls reorder and shifts the queue
reorder
The front element of the queue after sorting
Adds a phase to the queue
The phase to add
Sorts the elements in the queue
Priority Queue for
PostSummonPhase
andPostSummonActivateAbilityPhase
Orders phases first by ability priority, then by the Pokemon's effective speed