public class CardWithLocation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected CommonCardState |
card |
protected boolean |
isMine |
protected BoardLocation |
location |
protected int |
locationSubIndex |
Constructor and Description |
---|
CardWithLocation() |
CardWithLocation(CommonCardState card,
boolean isMine,
BoardLocation location,
int locationSubIndex) |
CardWithLocation(net.minecraft.network.PacketBuffer buf) |
Modifier and Type | Method and Description |
---|---|
CommonCardState |
getCard() |
BoardLocation |
getLocation() |
int |
getLocationSubIndex() |
boolean |
isMine() |
void |
set(CommonCardState card,
boolean isMine,
BoardLocation location,
int locationSubIndex) |
void |
write(net.minecraft.network.PacketBuffer buf) |
protected CommonCardState card
protected boolean isMine
protected BoardLocation location
protected int locationSubIndex
public CardWithLocation()
public CardWithLocation(CommonCardState card, boolean isMine, BoardLocation location, int locationSubIndex)
public CardWithLocation(net.minecraft.network.PacketBuffer buf)
public void write(net.minecraft.network.PacketBuffer buf)
public void set(CommonCardState card, boolean isMine, BoardLocation location, int locationSubIndex)
public boolean isMine()
public CommonCardState getCard()
public BoardLocation getLocation()
public int getLocationSubIndex()