Class PlayerServerState

java.lang.Object
com.pixelmonmod.tcg.duel.state.PlayerCommonState
com.pixelmonmod.tcg.duel.state.PlayerServerState

public class PlayerServerState extends PlayerCommonState
Created by Hy on 5/10/2016.
  • Field Details

    • entityPlayer

      protected net.minecraft.world.entity.player.Player entityPlayer
  • Constructor Details

    • PlayerServerState

      public PlayerServerState(net.minecraft.world.entity.player.Player entityPlayer)
  • Method Details

    • drawCards

      public int drawCards(int count, GameServerState server)
    • getDeck

      public List<ImmutableCard> getDeck()
    • getHand

      public List<ImmutableCard> getHand()
      Overrides:
      getHand in class PlayerCommonState
    • setDeck

      public void setDeck(List<ImmutableCard> deck)
    • setCardBack

      public void setCardBack(String id)
    • setCoinSet

      public void setCoinSet(String id)
    • getAvailableActions

      public AvailableActions getAvailableActions()
    • getCardSelectorState

      public CardSelectorState getCardSelectorState()
    • setCardSelectorState

      public void setCardSelectorState(CardSelectorState cardSelectorState)
    • getCardSelectorResult

      public CardSelectorResult getCardSelectorResult()
    • setCardSelectorResult

      public void setCardSelectorResult(CardSelectorResult cardSelectorResult)
    • getEntityPlayer

      public net.minecraft.world.entity.player.Player getEntityPlayer()
    • setEntityPlayer

      public void setEntityPlayer(net.minecraft.world.entity.player.Player entityPlayer)
    • setCounterEndTime

      public void setCounterEndTime(Date counterEndTime)
    • hasPokemonLeft

      public boolean hasPokemonLeft()
    • hasDeck

      public boolean hasDeck()
    • prepareDeck

      public void prepareDeck()
    • switchActive

      public void switchActive(PokemonCardState benchCard, GameServerState server)
    • getCustomGUI

      public CustomGUI getCustomGUI()
    • setCustomGUI

      public void setCustomGUI(CustomGUI customGUI)
    • getCustomGUIResult

      public CustomGUIResult getCustomGUIResult()
    • useCustomGUIDefaultResult

      public void useCustomGUIDefaultResult()
    • setCustomGUIResult

      public void setCustomGUIResult(CustomGUIResult customGUIResult)
    • setPendingPrizeCount

      public void setPendingPrizeCount(int playerIndex, int pendingCount)
    • addPendingPrizeCount

      public void addPendingPrizeCount(int playerIndex, int pendingPrizeCount)
    • getOpeningPrizeIndex

      public int getOpeningPrizeIndex()
    • setOpeningPrizeIndex

      public void setOpeningPrizeIndex(int openingPrizeIndex)
    • hasItem

      public boolean hasItem(net.minecraft.world.item.Item item)