Modifier and Type | Method and Description |
---|---|
static boolean |
TryToUnBlock.isUsableCard(GameState state,
CardColour colour,
Integer value) |
Modifier and Type | Method and Description |
---|---|
static int |
HandUtils.getHighestScorePossible(GameState state,
CardColour colour)
Calculates the maximum possible score obtainable for the given colour
|
static double |
DeckUtils.getProbablity(List<Card> cards,
CardColour target) |
static boolean |
HandUtils.isSafeBecauseFiveAlreadyPlayed(GameState state,
CardColour c) |
static boolean |
HandUtils.isSafeBecauseValueLowerThanPlayed(GameState state,
CardColour c,
Integer value) |
static boolean |
HandUtils.isSafeToDiscard(GameState state,
CardColour c,
Integer value) |
static boolean |
HandUtils.isSafeToDiscardHigherThanPossible(GameState state,
CardColour colour,
Integer value)
Returns true if the card is safe to discard because it is higher than what is currently possible for its colour
|
Modifier and Type | Method and Description |
---|---|
static Color |
GameView.getColor(CardColour colour) |
Modifier and Type | Method and Description |
---|---|
void |
CardHinter.hintValuesFor(int slot,
CardColour colour,
List<Card> cards) |
void |
CardHinter.hoverColour2(CardColour colour) |
Modifier and Type | Method and Description |
---|---|
void |
IndicatorPanel.setPossibleColours(List<CardColour> possibleColours) |
Constructor and Description |
---|
TableCard(GameState state,
CardColour colour) |
Modifier and Type | Field and Description |
---|---|
CardColour |
Card.colour |
Modifier and Type | Method and Description |
---|---|
CardColour |
Hand.getKnownColour(int slot)
Get the known colour of this slot, from the perspective of the player who's hand it is.
|
CardColour |
ShieldedHand.getKnownColour(int slot) |
CardColour |
BasicHand.getKnownColour(int slot)
Get the known colour of this slot, from the perspective of the player who's hand it is.
|
CardColour |
NegativeHand.getKnownColour(int slot) |
CardColour[] |
Hand.getPossibleColours(int slot)
get possible colours for a given slot.
|
CardColour[] |
ShieldedHand.getPossibleColours(int slot) |
CardColour[] |
BasicHand.getPossibleColours(int slot)
get possible colours for a given slot.
|
CardColour[] |
NegativeHand.getPossibleColours(int slot) |
static CardColour |
CardColour.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CardColour[] |
CardColour.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
int |
GameState.getTableValue(CardColour colour) |
int |
BasicState.getTableValue(CardColour colour) |
boolean |
Hand.hasColour(CardColour colour)
Has a card of that colour that it knows exactly about
|
boolean |
ShieldedHand.hasColour(CardColour colour) |
boolean |
BasicHand.hasColour(CardColour colour) |
void |
Hand.setKnownColour(CardColour colour,
Integer[] slots)
Sets the known colour of a slot from the perspective of the owner.
|
void |
ShieldedHand.setKnownColour(CardColour colour,
Integer[] slots) |
void |
BasicHand.setKnownColour(CardColour colour,
Integer[] slots)
Sets the known colour of a slot from the perspective of the owner.
|
void |
NegativeHand.setKnownColour(CardColour colour,
Integer[] slots) |
void |
GameState.setKnownValue(int player,
int slot,
Integer value,
CardColour colour)
Deprecated.
|
void |
BasicState.setKnownValue(int player,
int slot,
Integer value,
CardColour colour) |
void |
GameState.setTableValue(CardColour c,
int nextValue) |
void |
BasicState.setTableValue(CardColour colour,
int value) |
Constructor and Description |
---|
Card(Integer value,
CardColour colour) |
Modifier and Type | Field and Description |
---|---|
CardColour |
TellColour.colour |
Constructor and Description |
---|
TellColour(int player,
CardColour colour) |
Modifier and Type | Method and Description |
---|---|
CardColour |
CardInfoColour.getColour() |
Constructor and Description |
---|
CardDiscarded(int playerId,
int slotId,
CardColour colour,
int value) |
CardDrawn(int playerId,
int slotId,
CardColour colour,
int cardValue) |
CardInfoColour(int performer,
int playerId,
CardColour colour,
Collection<Integer> slotsList) |
CardInfoColour(int performer,
int playerId,
CardColour colour,
Integer... slots) |
CardPlayed(int playerId,
int slotId,
CardColour colour,
int value) |
Modifier and Type | Method and Description |
---|---|
CardColour[] |
PerfectHand.getColours(int slot) |
CardColour[] |
SimpleHand.getColours(int slot) |
Modifier and Type | Method and Description |
---|---|
boolean |
PerfectHand.isPossible(int slot,
CardColour colour) |
boolean |
SimpleHand.isPossible(int slot,
CardColour colour) |
default boolean |
SimpleHand.isPossible(int slot,
CardColour cardColour,
Integer value) |
Copyright © 2017 FOSS Galaxy. All rights reserved.