|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Card | |
|---|---|
| jagafa | |
| jagafa.ai | |
| jagafa.naming | |
| jagafa.object | |
| jagafa.rule | |
| jagafa.stats | |
| Uses of Card in jagafa |
|---|
| Methods in jagafa with parameters of type Card | |
|---|---|
boolean |
JassRoundCore.isValidPlay(Card toPlay)
Checks wether a card is valid to play on the active Board or not |
void |
JassRound.playCard(Card card,
Player player)
Adds a card of Player p to the active Board, if valid |
| Uses of Card in jagafa.ai |
|---|
| Methods in jagafa.ai that return Card | |
|---|---|
Card |
CoreAI.computeCard()
|
Card |
JassAI.computeCard()
Compute a card to be played by the player |
Card |
ProbabilityAI.computeCard()
|
Card |
SimpleAI.computeCard()
|
| Methods in jagafa.ai with parameters of type Card | |
|---|---|
float |
ProbabilityTable.getCardProb(Player p,
Card c)
Get the probability of a Player having a specific card |
| Uses of Card in jagafa.naming |
|---|
| Methods in jagafa.naming with parameters of type Card | |
|---|---|
static java.lang.String |
CardNames.getName(Card c)
Get a user-friendly name of the card |
| Uses of Card in jagafa.object |
|---|
| Methods in jagafa.object that return Card | |
|---|---|
Card |
Card.copy()
Get a exact copy of the card |
Card |
CardList.get(int i)
Get a card out of the CardList at a position specified |
Card |
Board.getFirstCard()
Get the first card played |
Card |
GoneCardHeap.getPlayedCard(Player player,
Board b)
Get the card a specific Player played on a specific Board |
| Methods in jagafa.object that return types with arguments of type Card | |
|---|---|
java.util.Iterator<Card> |
CardList.iterator()
Converts the CardList to a java.util.iterator object |
java.util.List<Card> |
CardList.list()
Convert the CardList to a java.util.list object |
| Methods in jagafa.object with parameters of type Card | |
|---|---|
void |
CardList.add(Card c)
Add a card to the CardList |
void |
Board.addCard(Card c,
Player p)
Adds a Card to the Board |
boolean |
CardList.contains(Card c)
Checks wether the CardList contains the Card given |
boolean |
Card.equals(Card o)
|
boolean |
GoneCardHeap.isGone(Card c)
|
boolean |
Player.playCard(Card card,
JassRound round)
Spielt eine Karte aus der hand des Spielers auf das Board von game |
void |
CardList.remove(Card c)
Remove a card from the CardList |
| Uses of Card in jagafa.rule |
|---|
| Methods in jagafa.rule that return Card | |
|---|---|
Card |
CoiffeurRules.getHigherCard(Card c1,
Card c2)
|
Card |
KijRules.getHigherCard(Card c1,
Card c2)
|
Card |
ObenRules.getHigherCard(Card c1,
Card c2)
|
Card |
RuleSet.getHigherCard(Card c1,
Card c2)
Gibt die bessere der beiden Karten zurück |
Card |
SlalomObenStartRules.getHigherCard(Card c1,
Card c2)
|
Card |
TrumpfRules.getHigherCard(Card c1,
Card c2)
|
Card |
UntenRules.getHigherCard(Card c1,
Card c2)
|
| Methods in jagafa.rule with parameters of type Card | |
|---|---|
boolean |
CoiffeurRules.compareHigher(Card c1,
Board b)
|
boolean |
KijRules.compareHigher(Card c1,
Board board)
|
boolean |
ObenRules.compareHigher(Card c1,
Board b)
|
boolean |
RuleSet.compareHigher(Card c1,
Board b)
Check wether a card beats all the cards on a board given |
boolean |
SlalomObenStartRules.compareHigher(Card c1,
Board b)
|
boolean |
TrumpfRules.compareHigher(Card c1,
Board board)
|
boolean |
UntenRules.compareHigher(Card c1,
Board b)
|
int |
CoiffeurRules.getColorRank(Card c,
Board b)
|
int |
KijRules.getColorRank(Card c,
Board b)
|
int |
ObenRules.getColorRank(Card c,
Board b)
|
int |
RuleSet.getColorRank(Card c,
Board b)
Liefert den internen Wert der Farbe der Karte bei gegebenem Board |
int |
SlalomObenStartRules.getColorRank(Card c,
Board b)
|
int |
TrumpfRules.getColorRank(Card c,
Board b)
|
int |
UntenRules.getColorRank(Card c,
Board b)
|
Card |
CoiffeurRules.getHigherCard(Card c1,
Card c2)
|
Card |
KijRules.getHigherCard(Card c1,
Card c2)
|
Card |
ObenRules.getHigherCard(Card c1,
Card c2)
|
Card |
RuleSet.getHigherCard(Card c1,
Card c2)
Gibt die bessere der beiden Karten zurück |
Card |
SlalomObenStartRules.getHigherCard(Card c1,
Card c2)
|
Card |
TrumpfRules.getHigherCard(Card c1,
Card c2)
|
Card |
UntenRules.getHigherCard(Card c1,
Card c2)
|
int |
CoiffeurRules.getPower(Card c,
Board b)
|
int |
KijRules.getPower(Card c,
Board b)
|
int |
ObenRules.getPower(Card c,
Board b)
|
int |
RuleSet.getPower(Card c,
Board b)
Liefert den Wert der Karte relativ zum liegenden Board |
int |
SlalomObenStartRules.getPower(Card c,
Board b)
|
int |
TrumpfRules.getPower(Card c,
Board b)
|
int |
UntenRules.getPower(Card c,
Board b)
|
int |
CoiffeurRules.getScore(Card c)
|
int |
KijRules.getScore(Card c)
|
int |
ObenRules.getScore(Card c)
|
int |
RuleSet.getScore(Card c)
Liefert den Punktewert der Karte |
int |
SlalomObenStartRules.getScore(Card c)
|
int |
TrumpfRules.getScore(Card c)
|
int |
UntenRules.getScore(Card c)
|
int |
CoiffeurRules.getValueRank(Card c,
Board b)
|
int |
KijRules.getValueRank(Card c,
Board b)
|
int |
ObenRules.getValueRank(Card c,
Board b)
|
int |
RuleSet.getValueRank(Card c,
Board b)
Liefert den internen Wert des Wertes der Karte bei gegebenem Board |
int |
SlalomObenStartRules.getValueRank(Card c,
Board b)
|
int |
TrumpfRules.getValueRank(Card c,
Board b)
|
int |
UntenRules.getValueRank(Card c,
Board b)
|
boolean |
CoiffeurRules.isValid(Card cardToCheck,
Hand hand,
Board board)
|
boolean |
KijRules.isValid(Card cardToCheck,
Hand hand,
Board board)
|
boolean |
ObenRules.isValid(Card cardToCheck,
Hand hand,
Board board)
|
boolean |
RuleSet.isValid(Card c,
Hand h,
Board b)
Prüft die Gültigkeit der Karte bei gegebenem Board und Hand |
boolean |
SlalomObenStartRules.isValid(Card cardToCheck,
Hand hand,
Board board)
|
boolean |
TrumpfRules.isValid(Card cardToCheck,
Hand hand,
Board board)
|
boolean |
UntenRules.isValid(Card cardToCheck,
Hand hand,
Board board)
|
| Uses of Card in jagafa.stats |
|---|
| Methods in jagafa.stats with parameters of type Card | |
|---|---|
static boolean |
CardTool.isBock(int nth,
Card c,
CardList gone,
RuleSet rules)
Check wether the card is a Bock of level n or not |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||