public class SkyBattleClause extends BattleClause
Constructor and Description |
---|
SkyBattleClause()
Initializes the clause.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
isMoveAllowed(Attack move)
Checks if a move is allowed in a Sky Battle.
|
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.public static boolean isMoveAllowed(Attack move)
move
- The move to check.