public class ProfOak extends BaseTrainerEffect
| Constructor and Description | 
|---|
ProfOak()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
apply(TrainerCardState trainer,
     GameServerState server)
This function applies the effect of the Trainer card. 
 | 
void | 
applySkipSelector(TrainerCardState trainer,
                 PokemonCardState pokemon,
                 GameServerState server,
                 BoardLocation b,
                 int p)
This function skips the selector, taking what it was placed on as the parameter. 
 | 
boolean | 
canApply(TrainerCardState trainer,
        GameServerState server)
This function makes sure all selector result are ready. 
 | 
boolean | 
canPlay(GameClientState client)
This is check on client to make sure the condition on trainer card are met. 
 | 
boolean | 
canSkipSelector()
This function is to tell if this trainer can skip the selector stage. 
 | 
canPlaceOn, canPlay, flipCoin, getOpponentRevealingSelectorState, getSelectorState, handleEndTurn, modifyDamage, preventDiscard, showDiscardButtonpublic boolean canPlay(GameClientState client)
BaseTrainerEffectcanPlay in class BaseTrainerEffectpublic boolean canApply(TrainerCardState trainer, GameServerState server)
BaseTrainerEffectcanApply in class BaseTrainerEffectpublic void apply(TrainerCardState trainer, GameServerState server)
BaseTrainerEffectapply in class BaseTrainerEffectpublic boolean canSkipSelector()
BaseTrainerEffectcanSkipSelector in class BaseTrainerEffectpublic void applySkipSelector(TrainerCardState trainer, PokemonCardState pokemon, GameServerState server, BoardLocation b, int p)
BaseTrainerEffectapplySkipSelector in class BaseTrainerEffect