public class SpeedPassClause extends BattleClause
Constructor and Description |
---|
SpeedPassClause()
Initializes the clause.
|
Modifier and Type | Method and Description |
---|---|
boolean |
validateSingle(Pokemon pokemon)
Checks if the rule allows a Pokémon to be chosen for battle.
|
compareTo, decodeInto, encodeInto, equals, getDescription, getID, getLocalizedName, getLocalizedName, hashCode, setDescription, toString, validateTeam
public boolean validateSingle(Pokemon pokemon)
BattleClause
validateSingle
in class BattleClause
pokemon
- The Pokémon to check.