Class SwitchPokemonEffect
java.lang.Object
com.pixelmonmod.tcg.duel.attack.effects.BaseAttackEffect
com.pixelmonmod.tcg.duel.attack.effects.BaseAttackEffectWithOptionalFlip
com.pixelmonmod.tcg.duel.attack.effects.SwitchPokemonEffect
Created by Hy on 6/25/2016.
-
Field Summary
Fields inherited from class com.pixelmonmod.tcg.duel.attack.effects.BaseAttackEffectWithOptionalFlip
needCoinSide
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyOnCorrectCoinSideAfterDamage
(List<Object> parameters, PokemonAttackStatus attack, PokemonCardState card, GameServerState server) boolean
canApply
(List<Object> parameters, CardAttack cardAttack, GameServerState server) getCustomGUI
(PokemonCardState pokemon, GameServerState server) getSelectorState
(List<Object> parameters, GameServerState server) boolean
Methods inherited from class com.pixelmonmod.tcg.duel.attack.effects.BaseAttackEffectWithOptionalFlip
applyAfterDamage, applyBeforeDamage, applyOnCorrectCoinSideBeforeDamage, flipCoin, isCorrectCoinSide, setRequiredCoinSide
Methods inherited from class com.pixelmonmod.tcg.duel.attack.effects.BaseAttackEffect
applyDelayAfterDamage, chooseOppAttack, construct, getCodes, modifyDamage, modifyTurn, setOptional, withConstructor
-
Constructor Details
-
SwitchPokemonEffect
public SwitchPokemonEffect()
-
-
Method Details
-
isOptional
public boolean isOptional()- Overrides:
isOptional
in classBaseAttackEffect
-
canApply
- Overrides:
canApply
in classBaseAttackEffect
-
getCustomGUI
- Overrides:
getCustomGUI
in classBaseAttackEffect
-
getSelectorState
- Overrides:
getSelectorState
in classBaseAttackEffect
-
getOpponentSelectorState
- Overrides:
getOpponentSelectorState
in classBaseAttackEffect
-
applyOnCorrectCoinSideAfterDamage
public void applyOnCorrectCoinSideAfterDamage(List<Object> parameters, PokemonAttackStatus attack, PokemonCardState card, GameServerState server) - Overrides:
applyOnCorrectCoinSideAfterDamage
in classBaseAttackEffectWithOptionalFlip
-
parse
- Overrides:
parse
in classBaseAttackEffect
-