Package com.pixelmonmod.tcg.duel.power
Class Bounce
java.lang.Object
com.pixelmonmod.tcg.duel.PowerEffect
com.pixelmonmod.tcg.duel.power.Bounce
-
Field Summary
FieldsFields inherited from class com.pixelmonmod.tcg.duel.PowerEffect
codec -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate(PokemonCardState pokemon, GameServerState server, PlayerServerState player) booleancanActivate(PokemonCardState pokemon, GameServerState server) Passive ability does not have to override this.booleanisEnabled(PokemonCardState pokemon, GameClientState client) Making sure that the non-passive ability can be activated.type()Methods inherited from class com.pixelmonmod.tcg.duel.PowerEffect
cleanUp, codec, disableEvolution, disableEvolution, disableOtherAbilities, flipCoin, getCustomGUI, getEnergyEquivalence, getSelectorState, holdParameters, ignoreEnergyTypes, isPassive, onAttacked, onCondition, onDamage, onEndTurn, onPlay, onStartGame, onSwitchActiveCard, retreatModifier, revealHand
-
Field Details
-
CODEC
-
-
Constructor Details
-
Bounce
public Bounce()
-
-
Method Details
-
type
- Specified by:
typein classPowerEffect
-
isEnabled
Description copied from class:PowerEffectMaking sure that the non-passive ability can be activated. Checks for Sleep, Confused, Paralyzed- Overrides:
isEnabledin classPowerEffect- Parameters:
pokemon-client-- Returns:
-
canActivate
Description copied from class:PowerEffectPassive ability does not have to override this.- Overrides:
canActivatein classPowerEffect- Parameters:
pokemon-server-- Returns:
-
activate
- Overrides:
activatein classPowerEffect
-