Package com.pixelmonmod.tcg.duel.state
Class AvailableActions
java.lang.Object
com.pixelmonmod.tcg.duel.state.AvailableActions
Created by SamPlummer on 24/04/2016.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMulliganBonusDraws
(int cards) int
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
setCanPlayEnergy
(boolean canPlayEnergy) void
setCanPlayItem
(boolean canPlayItem) void
setCanPlayStadium
(boolean canPlayStadium) void
setCanPlaySupporter
(boolean canPlaySupporter) void
setCanPlayTrainer
(boolean canPlayTrainer) void
setCanRetreatActive
(boolean canRetreatActive) void
void
void
void
setMulliganBonusDraws
(int mulliganBonusDraws) void
write
(net.minecraft.network.FriendlyByteBuf buf)
-
Constructor Details
-
AvailableActions
public AvailableActions() -
AvailableActions
public AvailableActions(net.minecraft.network.FriendlyByteBuf buf)
-
-
Method Details
-
write
public void write(net.minecraft.network.FriendlyByteBuf buf) -
setForPreMatch
public void setForPreMatch() -
setForFirstTurnP1
public void setForFirstTurnP1() -
setForNormalTurn
public void setForNormalTurn() -
isCanPlayEnergy
public boolean isCanPlayEnergy() -
setCanPlayEnergy
public void setCanPlayEnergy(boolean canPlayEnergy) -
isCanPlayTrainer
public boolean isCanPlayTrainer() -
setCanPlayTrainer
public void setCanPlayTrainer(boolean canPlayTrainer) -
isCanPlaySupporter
public boolean isCanPlaySupporter() -
setCanPlaySupporter
public void setCanPlaySupporter(boolean canPlaySupporter) -
isCanPlayItem
public boolean isCanPlayItem() -
setCanPlayItem
public void setCanPlayItem(boolean canPlayItem) -
isCanPlayStadium
public boolean isCanPlayStadium() -
setCanPlayStadium
public void setCanPlayStadium(boolean canPlayStadium) -
isCanRetreatActive
public boolean isCanRetreatActive() -
setCanRetreatActive
public void setCanRetreatActive(boolean canRetreatActive) -
getMulliganBonusDraws
public int getMulliganBonusDraws() -
setMulliganBonusDraws
public void setMulliganBonusDraws(int mulliganBonusDraws) -
addMulliganBonusDraws
public void addMulliganBonusDraws(int cards) -
isCanAttack
public boolean isCanAttack()
-