Class CardWithLocation
java.lang.Object
com.pixelmonmod.tcg.client.gui.duel.CardWithLocation
- Direct Known Subclasses:
InspectingCard
Created by Hy on 5/11/2016.
-
Field Summary
Modifier and TypeFieldDescriptionprotected CommonCardState
protected boolean
protected BoardLocation
protected int
-
Constructor Summary
ConstructorDescriptionCardWithLocation
(CommonCardState card, boolean isMine, BoardLocation location, int locationSubIndex) CardWithLocation
(net.minecraft.network.FriendlyByteBuf buf) -
Method Summary
Modifier and TypeMethodDescriptiongetCard()
int
boolean
isMine()
void
set
(CommonCardState card, boolean isMine, BoardLocation location, int locationSubIndex) void
write
(net.minecraft.network.FriendlyByteBuf buf)
-
Field Details
-
card
-
isMine
protected boolean isMine -
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
-
isMine
public boolean isMine() -
getCard
-
getLocation
-
getLocationSubIndex
public int getLocationSubIndex()
-