|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use CardVector | |
|---|---|
| jskat.data | |
| jskat.player | |
| jskat.player.AIPlayerMJL | |
| jskat.player.AIPlayerRND | |
| jskat.share | |
| Uses of CardVector in jskat.data |
|---|
| Methods in jskat.data that return CardVector | |
|---|---|
CardVector |
Trick.getCardVector()
Returns the cards of the trick as CardVector |
CardVector |
Trick.getCardVector()
Returns the cards of the trick as CardVector |
CardVector |
SkatGameData.getPlayerCards(int playerID)
|
CardVector |
SkatGameData.getPlayerCards(int playerID)
|
CardVector |
SkatGameData.getSkat()
Gets a reference to the skat for the game |
CardVector |
SkatGameData.getSkat()
Gets a reference to the skat for the game |
| Methods in jskat.data that return types with arguments of type CardVector | |
|---|---|
java.util.Vector<CardVector> |
SkatGameData.getDealtCards()
Gets the dealt cards |
java.util.Vector<CardVector> |
SkatGameData.getDealtCards()
Gets the dealt cards |
| Methods in jskat.data with parameters of type CardVector | |
|---|---|
void |
SkatGameData.updatePlayerCards(int playerID,
CardVector oldSkat)
|
void |
SkatGameData.updatePlayerCards(int playerID,
CardVector oldSkat)
|
| Uses of CardVector in jskat.player |
|---|
| Fields in jskat.player declared as CardVector | |
|---|---|
protected CardVector |
JSkatPlayerImpl.cards
|
protected CardVector |
JSkatPlayerImpl.cards
|
protected CardVector |
JSkatPlayerImpl.skat
|
protected CardVector |
JSkatPlayerImpl.skat
|
| Methods in jskat.player that return CardVector | |
|---|---|
CardVector |
JSkatPlayerImpl.getCardVector()
Deprecated. |
CardVector |
JSkatPlayerImpl.getCardVector()
Deprecated. |
| Methods in jskat.player with parameters of type CardVector | |
|---|---|
Card |
HumanPlayer.playCard(CardVector trick)
This method should wait for human player |
Card |
JSkatPlayer.playCard(CardVector trick)
Get next Card to play |
Card |
HumanPlayer.playCard(CardVector trick)
This method should wait for human player |
Card |
JSkatPlayer.playCard(CardVector trick)
Get next Card to play |
int |
JSkatPlayer.playNextCard(CardVector trick)
Deprecated. |
int |
JSkatPlayerImpl.playNextCard(CardVector trick)
Deprecated. |
int |
JSkatPlayer.playNextCard(CardVector trick)
Deprecated. |
int |
JSkatPlayerImpl.playNextCard(CardVector trick)
Deprecated. |
void |
HumanPlayer.showTrick(CardVector trick,
int trickWinner)
|
void |
JSkatPlayer.showTrick(CardVector trick,
int trickWinner)
Makes the current trick known to the players when it is complete |
abstract void |
JSkatPlayerImpl.showTrick(CardVector trick,
int trickWinner)
Makes the current trick known to the players when it is complete |
void |
HumanPlayer.showTrick(CardVector trick,
int trickWinner)
|
void |
JSkatPlayer.showTrick(CardVector trick,
int trickWinner)
Makes the current trick known to the players when it is complete |
abstract void |
JSkatPlayerImpl.showTrick(CardVector trick,
int trickWinner)
Makes the current trick known to the players when it is complete |
void |
HumanPlayer.takeRamschSkat(CardVector skat,
boolean jacksAllowed)
|
void |
JSkatPlayer.takeRamschSkat(CardVector skat,
boolean jacksAllowed)
Take the skat in a ramsch round |
void |
HumanPlayer.takeRamschSkat(CardVector skat,
boolean jacksAllowed)
|
void |
JSkatPlayer.takeRamschSkat(CardVector skat,
boolean jacksAllowed)
Take the skat in a ramsch round |
void |
JSkatPlayer.takeSkat(CardVector skat)
Take the skat as a single player. |
void |
JSkatPlayerImpl.takeSkat(CardVector skat)
Take the skat |
void |
JSkatPlayer.takeSkat(CardVector skat)
Take the skat as a single player. |
void |
JSkatPlayerImpl.takeSkat(CardVector skat)
Take the skat |
| Uses of CardVector in jskat.player.AIPlayerMJL |
|---|
| Methods in jskat.player.AIPlayerMJL that return CardVector | |
|---|---|
CardVector |
TrickInfo.getTrick()
get the current trick |
CardVector |
TrickInfo.getTrick()
get the current trick |
| Methods in jskat.player.AIPlayerMJL with parameters of type CardVector | |
|---|---|
void |
CardMemory.addTrick(CardVector trick,
int forehandPlayer)
Adds the cards of the current trick to the memory |
void |
CardMemory.addTrick(CardVector trick,
int forehandPlayer)
Adds the cards of the current trick to the memory |
static int |
Helper.countJacks(CardVector cards)
Gets the number of jacks in the given hand |
static int |
Helper.countJacks(CardVector cards)
Gets the number of jacks in the given hand |
static int |
Helper.getHighestTrump(CardVector cards,
int currTrump)
Gets the highest trump card out of a given hand |
static int |
Helper.getHighestTrump(CardVector cards,
int currTrump)
Gets the highest trump card out of a given hand |
static int |
Helper.getJacks(CardVector cards)
Gets a binary representation of the jacks in the given hand |
static int |
Helper.getJacks(CardVector cards)
Gets a binary representation of the jacks in the given hand |
static int |
Helper.getMultiplier(CardVector cards)
Gets the game multiplier |
static int |
Helper.getMultiplier(CardVector cards)
Gets the game multiplier |
static boolean |
Helper.hasTrump(CardVector cards,
int currTrump)
Checks, whether there is at least one trump card in a given hand |
static boolean |
Helper.hasTrump(CardVector cards,
int currTrump)
Checks, whether there is at least one trump card in a given hand |
static int |
Helper.isAbleToBeat(CardVector cards,
Card cardToBeat,
int trump,
Card initialCard,
int gameType)
Decides whether a player is able to beat a certain card |
static int |
Helper.isAbleToBeat(CardVector cards,
Card cardToBeat,
int trump,
Card initialCard,
int gameType)
Decides whether a player is able to beat a certain card |
static boolean |
Helper.isAbleToMatch(CardVector cards,
int trump,
Card initialCard,
int gameType)
Decides whether a player is able to match a certain initial card |
static boolean |
Helper.isAbleToMatch(CardVector cards,
int trump,
Card initialCard,
int gameType)
Decides whether a player is able to match a certain initial card |
boolean |
RamschSkatProcessor.lookAtSkat(CardVector cards)
Decides, whether the AI player should look at the skat or rather play hand |
static boolean |
SkatProcessor.lookAtSkat(CardVector cards)
Decides, whether the AI player should look at the skat or rather play hand |
static boolean |
SkatProcessor.lookAtSkat(CardVector cards)
Decides, whether the AI player should look at the skat or rather play hand |
boolean |
RamschSkatProcessor.lookAtSkat(CardVector cards)
Decides, whether the AI player should look at the skat or rather play hand |
Card |
AIPlayerMJL.playCard(CardVector trick)
|
Card |
AIPlayerMJL.playCard(CardVector trick)
|
int |
AIPlayerMJL.playNextCard(CardVector trick)
Get next Card to play |
int |
AIPlayerMJL.playNextCard(CardVector trick)
Get next Card to play |
int |
CardPlayer.playNextCard(CardVector cards,
TrickInfo trickInfo)
Gets the next card, that the player wants to play |
int |
OpponentPlayer.playNextCard(CardVector cards,
TrickInfo trickInfo)
Gets the next card that the player wants to play |
int |
RamschPlayer.playNextCard(CardVector cards,
TrickInfo trick)
Gets the next card, that the player wants to play |
int |
SinglePlayer.playNextCard(CardVector cards,
TrickInfo trick)
Gets the next card, that the player wants to play |
int |
OpponentPlayer.playNextCard(CardVector cards,
TrickInfo trickInfo)
Gets the next card that the player wants to play |
int |
SinglePlayer.playNextCard(CardVector cards,
TrickInfo trick)
Gets the next card, that the player wants to play |
int |
RamschPlayer.playNextCard(CardVector cards,
TrickInfo trick)
Gets the next card, that the player wants to play |
int |
CardPlayer.playNextCard(CardVector cards,
TrickInfo trickInfo)
Gets the next card, that the player wants to play |
void |
RamschSkatProcessor.processSkat(CardVector cards,
CardVector skat)
Processes the skat for a Ramsch game |
static int |
SkatProcessor.processSkat(CardVector cards,
CardVector skat)
Processes the skat after the player has won the bidding. |
static int |
SkatProcessor.processSkat(CardVector cards,
CardVector skat)
Processes the skat after the player has won the bidding. |
void |
RamschSkatProcessor.processSkat(CardVector cards,
CardVector skat)
Processes the skat for a Ramsch game |
int |
CardMemory.remainingCards(int suit,
CardVector myCards)
Calculates how many cards of that suit are still out. |
int |
CardMemory.remainingCards(int suit,
CardVector myCards)
Calculates how many cards of that suit are still out. |
void |
TrickInfo.setTrick(CardVector trick)
set the current trick |
void |
TrickInfo.setTrick(CardVector trick)
set the current trick |
void |
AIPlayerMJL.showTrick(CardVector trick,
int trickWinner)
Makes the current trick known to the players when it is complete |
void |
AIPlayerMJL.showTrick(CardVector trick,
int trickWinner)
Makes the current trick known to the players when it is complete |
static int |
Helper.suitCardsToBinary(CardVector cards,
int suit)
Converts a hand's cards of a certain suit to a binary stream |
static int |
Helper.suitCardsToBinary(CardVector cards,
int suit)
Converts a hand's cards of a certain suit to a binary stream |
static int |
Helper.suitCardsToBinaryNullGame(CardVector cards,
int suit)
Converts a hand's cards of a certain suit to a binary stream for a null game (which means that jacks are also considered) |
static int |
Helper.suitCardsToBinaryNullGame(CardVector cards,
int suit)
Converts a hand's cards of a certain suit to a binary stream for a null game (which means that jacks are also considered) |
static int |
Helper.suitCardsToBinaryWithSkat(CardVector cards,
CardVector skat,
int suit)
Converts a hand's and the skat's cards of a certain suit to a binary stream |
static int |
Helper.suitCardsToBinaryWithSkat(CardVector cards,
CardVector skat,
int suit)
Converts a hand's and the skat's cards of a certain suit to a binary stream |
void |
AIPlayerMJL.takeRamschSkat(CardVector skat,
boolean jacksAllowed)
(non-Javadoc) |
void |
AIPlayerMJL.takeRamschSkat(CardVector skat,
boolean jacksAllowed)
(non-Javadoc) |
void |
AIPlayerMJL.takeSkat(CardVector skat)
(non-Javadoc) |
void |
AIPlayerMJL.takeSkat(CardVector skat)
(non-Javadoc) |
| Constructors in jskat.player.AIPlayerMJL with parameters of type CardVector | |
|---|---|
Bidding(CardVector cards)
default constructor |
|
Bidding(CardVector cards)
default constructor |
|
| Uses of CardVector in jskat.player.AIPlayerRND |
|---|
| Methods in jskat.player.AIPlayerRND with parameters of type CardVector | |
|---|---|
Card |
AIPlayerRND.playCard(CardVector trick)
|
Card |
AIPlayerRND.playCard(CardVector trick)
|
void |
AIPlayerRND.showTrick(CardVector trick,
int trickWinner)
|
void |
AIPlayerRND.showTrick(CardVector trick,
int trickWinner)
|
void |
AIPlayerRND.takeRamschSkat(CardVector skat,
boolean jacksAllowed)
|
void |
AIPlayerRND.takeRamschSkat(CardVector skat,
boolean jacksAllowed)
|
| Uses of CardVector in jskat.share |
|---|
| Subclasses of CardVector in jskat.share | |
|---|---|
class |
CardDeck
A carddeck for skat |
| Methods in jskat.share with parameters of type CardVector | |
|---|---|
static boolean |
SkatRules.isCardAllowed(Card card,
CardVector hand,
Card initialCard,
int gameType,
int currentTrump)
Checks, whether the given card is allowed to be played, also considering the rest of the hand |
static boolean |
SkatRules.isCardAllowed(Card card,
CardVector hand,
Card initialCard,
int gameType,
int currentTrump)
Checks, whether the given card is allowed to be played, also considering the rest of the hand |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||