public class MaximumOneBatonPass extends BattleClause
BattleClause
for preventing more than one Pokémon from knowing Baton Pass.Constructor and Description |
---|
MaximumOneBatonPass() |
Modifier and Type | Method and Description |
---|---|
boolean |
validateTeam(java.util.List<Pokemon> team)
Checks if the rule allows a list of Pokémon to be chosen for battle.
|
compareTo, decodeInto, encodeInto, equals, getDescription, getID, getLocalizedName, getLocalizedName, hashCode, setDescription, toString, validateSingle
public boolean validateTeam(java.util.List<Pokemon> team)
BattleClause
validateTeam
in class BattleClause
team
- The Pokémon to check.