Package com.pixelmonmod.tcg.duel.power
Class Transparency
java.lang.Object
com.pixelmonmod.tcg.duel.power.BasePowerEffect
com.pixelmonmod.tcg.duel.power.Transparency
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activate
(PokemonCardState pokemon, GameServerState server, PlayerServerState player) boolean
canActivate
(PokemonCardState pokemon, GameServerState client) Passive ability does not have to override this.getSelectorState
(PokemonCardState pokemon, GameServerState server) boolean
isEnabled
(PokemonCardState pokemon, GameClientState client) Making sure that the non-passive ability can be activated.Methods inherited from class com.pixelmonmod.tcg.duel.power.BasePowerEffect
cleanUp, disableEvolution, disableEvolution, disableOtherAbilities, flipCoin, getCode, getCustomGUI, getEnergyEquivalence, holdParameters, ignoreEnergyTypes, isPassive, onAttacked, onCondition, onDamage, onEndTurn, onPlay, onStartGame, onSwitchActiveCard, retreatModifier, revealHand
-
Constructor Details
-
Transparency
public Transparency()
-
-
Method Details
-
isEnabled
Description copied from class:BasePowerEffect
Making sure that the non-passive ability can be activated. Checks for Sleep, Confused, Paralyzed- Overrides:
isEnabled
in classBasePowerEffect
- Returns:
-
getSelectorState
- Overrides:
getSelectorState
in classBasePowerEffect
-
canActivate
Description copied from class:BasePowerEffect
Passive ability does not have to override this.- Overrides:
canActivate
in classBasePowerEffect
- Returns:
-
activate
- Overrides:
activate
in classBasePowerEffect
-