public abstract class PlayerCommonState
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected PokemonCardState |
activeCard |
protected PokemonCardState[] |
benchCards |
protected java.lang.String |
cardBackID |
protected java.lang.String |
coinSetID |
protected java.util.Date |
counterEndTime |
protected java.util.List<ImmutableCard> |
graveyard |
protected boolean |
isChoosingOppAttack |
protected boolean |
isInGUI |
protected boolean |
isReady |
protected boolean |
isSpectating |
protected int |
pendingPrizeCount |
protected int |
pendingPrizePlayerIndex |
protected java.lang.String |
playerName |
protected ImmutableCard[] |
prizeCards |
protected boolean |
showPokemonsInClient |
protected java.lang.Integer |
timeLeft |
protected TrainerCardState |
trainerCard |
protected boolean |
trainersDisabled |
Constructor and Description |
---|
PlayerCommonState() |
PlayerCommonState(net.minecraft.network.PacketBuffer buf,
GameServerState server,
boolean isMe) |
PlayerCommonState(PlayerServerState player,
GameServerState server,
boolean isMe) |
protected boolean isReady
protected TrainerCardState trainerCard
protected PokemonCardState activeCard
protected PokemonCardState[] benchCards
protected java.util.List<ImmutableCard> graveyard
protected ImmutableCard[] prizeCards
protected boolean showPokemonsInClient
protected java.lang.String cardBackID
protected java.lang.String coinSetID
protected boolean isChoosingOppAttack
protected int pendingPrizeCount
protected int pendingPrizePlayerIndex
protected boolean isInGUI
protected boolean isSpectating
protected boolean trainersDisabled
protected java.lang.String playerName
protected java.lang.Integer timeLeft
protected java.util.Date counterEndTime
public PlayerCommonState()
public PlayerCommonState(PlayerServerState player, GameServerState server, boolean isMe)
public PlayerCommonState(net.minecraft.network.PacketBuffer buf, GameServerState server, boolean isMe)
public void write(net.minecraft.network.PacketBuffer buf)
public java.util.List<ImmutableCard> getHand()
public java.lang.String getPlayerName()
public boolean isReady()
public void setReady(boolean ready)
public TrainerCardState getTrainerCard()
public java.util.List<PokemonCardState> getActiveAndBenchCards()
public java.util.List<CardWithLocation> getActiveAndBenchCards(boolean isMine)
public PokemonCardState getActiveCard()
public PokemonCardState[] getBenchCards()
public void setTrainerCard(TrainerCardState trainerCard)
public void setActiveCard(PokemonCardState activeCard)
public void setBenchCards(PokemonCardState[] benchCards)
public java.util.List<ImmutableCard> getDiscardPile()
public void setGraveyard(java.util.List<ImmutableCard> graveyard)
public ImmutableCard[] getPrizeCards()
public void setPrizeCards(ImmutableCard[] prizeCards)
public boolean hasPrizeLeft()
public boolean isInBench(CommonCardState card)
public boolean isChoosingOppAttack()
public void setChoosingOppAttack(boolean choosingOppAttack)
public java.lang.String getCardBackID()
public java.lang.String getCoinSetID()
public Coin getCoin()
public boolean areTrainersDisabled()
public void setAreTrainersDisabled(boolean y)
public PokemonCardState getCard(BoardLocation location, int locationSubindex)
public int getPendingPrizePlayerIndex()
public int getPendingPrizeCount()
public boolean isInGUI()
public void setInGUI(boolean inGUI)
public java.util.Date getCounterEndTime()