public abstract class CardInfo extends GameEvent
Modifier and Type | Field and Description |
---|---|
protected int |
playerTelling |
protected int |
playerTold |
protected Integer[] |
slots |
Constructor and Description |
---|
CardInfo(MessageType id,
int playerTold,
int playerTelling,
Collection<Integer> slotsList) |
CardInfo(MessageType id,
int playerTold,
int playerTelling,
Integer[] slots) |
Modifier and Type | Method and Description |
---|---|
int |
getPerformer() |
int |
getPlayerId()
Deprecated.
|
int |
getPlayerTold() |
Integer[] |
getSlots() |
boolean |
isUnique() |
boolean |
wasToldBy(int playerID) |
boolean |
wasToldTo(int playerID) |
apply, apply, getEvent, isVisibleTo
protected final int playerTold
protected final int playerTelling
protected final Integer[] slots
public CardInfo(MessageType id, int playerTold, int playerTelling, Collection<Integer> slotsList)
public CardInfo(MessageType id, int playerTold, int playerTelling, Integer[] slots)
public boolean wasToldTo(int playerID)
public boolean wasToldBy(int playerID)
public int getPlayerTold()
public int getPerformer()
public boolean isUnique()
public Integer[] getSlots()
@Deprecated public int getPlayerId()
Copyright © 2017 FOSS Galaxy. All rights reserved.