public class SwitchPokemonEffect extends BaseAttackEffectWithOptionalFlip
needCoinSide
Constructor and Description |
---|
SwitchPokemonEffect() |
Modifier and Type | Method and Description |
---|---|
void |
applyOnCorrectCoinSideAfterDamage(java.util.List<java.lang.Object> parameters,
PokemonAttackStatus attack,
PokemonCardState card,
GameServerState server) |
boolean |
canApply(java.util.List<java.lang.Object> parameters,
CardAttack cardAttack,
GameServerState server) |
CustomGUI |
getCustomGUI(PokemonCardState pokemon,
GameServerState server) |
CardSelectorState |
getOpponentSelectorState(GameServerState server) |
CardSelectorState |
getSelectorState(java.util.List<java.lang.Object> parameters,
GameServerState server) |
boolean |
isOptional() |
BaseAttackEffect |
parse(java.lang.String... args) |
applyAfterDamage, applyBeforeDamage, applyOnCorrectCoinSideBeforeDamage, flipCoin, isCorrectCoinSide, setRequiredCoinSide
applyDelayAfterDamage, chooseOppAttack, construct, getCodes, modifyDamage, modifyTurn, setOptional, withConstructor
public boolean isOptional()
isOptional
in class BaseAttackEffect
public boolean canApply(java.util.List<java.lang.Object> parameters, CardAttack cardAttack, GameServerState server)
canApply
in class BaseAttackEffect
public CustomGUI getCustomGUI(PokemonCardState pokemon, GameServerState server)
getCustomGUI
in class BaseAttackEffect
public CardSelectorState getSelectorState(java.util.List<java.lang.Object> parameters, GameServerState server)
getSelectorState
in class BaseAttackEffect
public CardSelectorState getOpponentSelectorState(GameServerState server)
getOpponentSelectorState
in class BaseAttackEffect
public void applyOnCorrectCoinSideAfterDamage(java.util.List<java.lang.Object> parameters, PokemonAttackStatus attack, PokemonCardState card, GameServerState server)
applyOnCorrectCoinSideAfterDamage
in class BaseAttackEffectWithOptionalFlip
public BaseAttackEffect parse(java.lang.String... args)
parse
in class BaseAttackEffect