Class CardSelectorState

java.lang.Object
com.pixelmonmod.tcg.duel.state.CardSelectorState

public class CardSelectorState extends Object
Created by Hy on 5/20/2016.
  • Constructor Details

    • CardSelectorState

      public CardSelectorState(int minimumCount, int maximumCount, CardSelectorDisplay displayType, boolean cancellable)
    • CardSelectorState

      public CardSelectorState(int minimumCount, int maximumCount, CardSelectorDisplay displayType, boolean cancellable, String customText)
    • CardSelectorState

      public CardSelectorState(int minimumCount, int maximumCount, boolean countEnergy, CardSelectorDisplay displayType, boolean cancellable)
    • CardSelectorState

      public CardSelectorState(int id, int minimumCount, int maximumCount, boolean countEnergy, CardSelectorDisplay displayType, boolean cancellable, String customText, List<CardWithLocation> cardList)
    • CardSelectorState

      public CardSelectorState(net.minecraft.network.FriendlyByteBuf buf)
  • Method Details

    • write

      public void write(net.minecraft.network.FriendlyByteBuf buf)
    • getId

      public int getId()
    • setId

      public void setId(int id)
    • getCardList

      public List<CardWithLocation> getCardList()
    • setCardList

      public void setCardList(List<CardWithLocation> cardList)
    • addCard

      public void addCard(CardWithLocation card)
    • getMinimumCount

      public int getMinimumCount()
    • getMaximumCount

      public int getMaximumCount()
    • isCountEnergy

      public boolean isCountEnergy()
    • getDisplayType

      public CardSelectorDisplay getDisplayType()
    • setDisplayType

      public void setDisplayType(CardSelectorDisplay displayType)
    • isCancellable

      public boolean isCancellable()
    • setCancellable

      public void setCancellable(boolean cancellable)
    • getCustomText

      public String getCustomText()
    • setCustomText

      public void setCustomText(String customText)