public class SpeedPriorityComparator extends SpeedComparator
Constructor and Description |
---|
SpeedPriorityComparator() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
doesGoFirst(PixelmonWrapper p,
PixelmonWrapper foe)
Calculates whether one Pokémon moves before another.
|
compare
protected boolean doesGoFirst(PixelmonWrapper p, PixelmonWrapper foe)
SpeedComparator
doesGoFirst
in class SpeedComparator
p
- The Pokémon to check for moving first.foe
- The Pokémon opposing p.