public class NoDuplicateItemClause extends BattleClause
Constructor and Description |
---|
NoDuplicateItemClause() |
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.