Class CardWithLocation

java.lang.Object
com.pixelmonmod.tcg.client.gui.duel.CardWithLocation
Direct Known Subclasses:
InspectingCard

public class CardWithLocation extends Object
Created by Hy on 5/11/2016.
  • Field Details

    • card

      protected CommonCardState card
    • isMine

      protected boolean isMine
    • location

      protected BoardLocation location
    • locationSubIndex

      protected int locationSubIndex
  • Constructor Details

    • CardWithLocation

      public CardWithLocation()
    • CardWithLocation

      public CardWithLocation(CommonCardState card, boolean isMine, BoardLocation location, int locationSubIndex)
    • CardWithLocation

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

    • write

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

      public void set(CommonCardState card, boolean isMine, BoardLocation location, int locationSubIndex)
    • isMine

      public boolean isMine()
    • getCard

      public CommonCardState getCard()
    • getLocation

      public BoardLocation getLocation()
    • getLocationSubIndex

      public int getLocationSubIndex()