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, validateSinglepublic boolean validateTeam(java.util.List<Pokemon> team)
BattleClausevalidateTeam in class BattleClauseteam - The Pokémon to check.