Uses of Class
jskat.share.Card

Packages that use Card
jskat.data   
jskat.player   
jskat.player.AIPlayerMJL   
jskat.player.AIPlayerRND   
jskat.share   
 

Uses of Card in jskat.data
 

Methods in jskat.data that return Card
 Card Trick.getCard(int player)
          Gets a card from the trick
 Card Trick.getCard(int player)
          Gets a card from the trick
 Card Trick.getFirstCard()
          Getter for property firstCard.
 Card Trick.getFirstCard()
          Getter for property firstCard.
 Card Trick.getSecondCard()
          Getter for property secondCard.
 Card Trick.getSecondCard()
          Getter for property secondCard.
 Card Trick.getThirdCard()
          Getter for property thirdCard.
 Card Trick.getThirdCard()
          Getter for property thirdCard.
 

Methods in jskat.data with parameters of type Card
 void SkatGameData.setDealtCard(int playerID, Card card)
          Sets a dealt card
 void SkatGameData.setDealtCard(int playerID, Card card)
          Sets a dealt card
 void Trick.setFirstCard(Card firstCard)
          Setter for property firstCard.
 void Trick.setFirstCard(Card firstCard)
          Setter for property firstCard.
 void Trick.setSecondCard(Card secondCard)
          Setter for property secondCard.
 void Trick.setSecondCard(Card secondCard)
          Setter for property secondCard.
 void Trick.setThirdCard(Card thirdCard)
          Setter for property thirdCard.
 void Trick.setThirdCard(Card thirdCard)
          Setter for property thirdCard.
 void SkatGameData.setTrickCard(int trickNumber, int cardNumber, Card card)
          Sets a trick card
 void SkatGameData.setTrickCard(int trickNumber, int cardNumber, Card card)
          Sets a trick card
 

Uses of Card in jskat.player
 

Methods in jskat.player that return Card
 Card JSkatPlayerImpl.getCard(int suit, int value)
          Deprecated.  
 Card JSkatPlayerImpl.getCard(int suit, int value)
          Deprecated.  
 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
 Card JSkatPlayer.removeCard(Card card)
          Deprecated.  
 Card JSkatPlayerImpl.removeCard(Card card)
          Deprecated.  
 Card JSkatPlayer.removeCard(Card card)
          Deprecated.  
 Card JSkatPlayerImpl.removeCard(Card card)
          Deprecated.  
 Card JSkatPlayer.removeCard(int index)
          Deprecated.  
 Card JSkatPlayerImpl.removeCard(int index)
          Get the selected card from the player's hand
 Card JSkatPlayer.removeCard(int index)
          Deprecated.  
 Card JSkatPlayerImpl.removeCard(int index)
          Get the selected card from the player's hand
 Card JSkatPlayer.removeCard(int suit, int value)
          Get the selected card from the player's hand
 Card JSkatPlayerImpl.removeCard(int suit, int value)
          Deprecated.  
 Card JSkatPlayer.removeCard(int suit, int value)
          Get the selected card from the player's hand
 Card JSkatPlayerImpl.removeCard(int suit, int value)
          Deprecated.  
 

Methods in jskat.player with parameters of type Card
 void JSkatPlayer.cardPlayed(Card card)
          Informs the player about a card that was played
 void JSkatPlayerImpl.cardPlayed(Card card)
           
 void JSkatPlayer.cardPlayed(Card card)
          Informs the player about a card that was played
 void JSkatPlayerImpl.cardPlayed(Card card)
           
 Card JSkatPlayer.removeCard(Card card)
          Deprecated.  
 Card JSkatPlayerImpl.removeCard(Card card)
          Deprecated.  
 Card JSkatPlayer.removeCard(Card card)
          Deprecated.  
 Card JSkatPlayerImpl.removeCard(Card card)
          Deprecated.  
 void JSkatPlayer.takeCard(Card newCard)
          Take a card from someone
 void JSkatPlayerImpl.takeCard(Card newCard)
          Take a card from someone
 void JSkatPlayer.takeCard(Card newCard)
          Take a card from someone
 void JSkatPlayerImpl.takeCard(Card newCard)
          Take a card from someone
 

Uses of Card in jskat.player.AIPlayerMJL
 

Methods in jskat.player.AIPlayerMJL that return Card
 Card TrickInfo.getCard(int index)
          Get a certain card of the trick
 Card TrickInfo.getCard(int index)
          Get a certain card of the trick
 Card AIPlayerMJL.playCard(CardVector trick)
           
 Card AIPlayerMJL.playCard(CardVector trick)
           
 

Methods in jskat.player.AIPlayerMJL with parameters of type 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 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
 

Uses of Card in jskat.player.AIPlayerRND
 

Methods in jskat.player.AIPlayerRND that return Card
 Card AIPlayerRND.playCard(CardVector trick)
           
 Card AIPlayerRND.playCard(CardVector trick)
           
 

Uses of Card in jskat.share
 

Methods in jskat.share that return Card
 Card CardVector.getCard(int index)
          Returns a reference to a Card in the CardVector without removing it
 Card CardVector.getCard(int index)
          Returns a reference to a Card in the CardVector without removing it
 Card CardVector.remove(Card card)
          Returns a reference to a Card in the CardVector and removes this card from the CardVector
 Card CardVector.remove(Card card)
          Returns a reference to a Card in the CardVector and removes this card from the CardVector
 Card CardVector.remove(int index)
          Returns a reference to a Card in the CardVector and removes this card from the CardVector
 Card CardVector.remove(int index)
          Returns a reference to a Card in the CardVector and removes this card from the CardVector
 Card CardVector.remove(int suit, int value)
          Returns a reference to a Card in the CardVector and removes this card from the CardVector
 Card CardVector.remove(int suit, int value)
          Returns a reference to a Card in the CardVector and removes this card from the CardVector
 

Methods in jskat.share with parameters of type Card
 void CardVector.add(Card card)
          Adds a Card to the CardVector
 void CardVector.add(Card card)
          Adds a Card to the CardVector
 void CardVector.addNew(Card card)
          Adds a Card to the CardVector by creating a new Card object instead of using the reference
 void CardVector.addNew(Card card)
          Adds a Card to the CardVector by creating a new Card object instead of using the reference
 boolean Card.beats(Card cardToCompare, GameAnnouncement gameAnnouncement, Card firstTrickCard)
          Checks whether the card beats another given card under the current game type and trumpf color with respect to the initial card on the table
 boolean Card.beats(Card cardToCompare, GameAnnouncement gameAnnouncement, Card firstTrickCard)
          Checks whether the card beats another given card under the current game type and trumpf color with respect to the initial card on the table
 boolean Card.beats(Card cardToCompare, int gameType, int currentTrumpColor, int initialColor)
          Deprecated.  
 boolean Card.beats(Card cardToCompare, int gameType, int currentTrumpColor, int initialColor)
          Deprecated.  
 boolean CardVector.contains(Card card)
          Searches in the Vector for the given card
 boolean CardVector.contains(Card card)
          Searches in the Vector for the given card
 boolean Card.equals(Card card)
          Implementation of the equals() method
 boolean Card.equals(Card card)
          Implementation of the equals() method
 int CardVector.getIndexOf(Card c)
          Gets the index of a card in the Vector
 int CardVector.getIndexOf(Card c)
          Gets the index of a card in the Vector
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
 boolean Card.isSameCalcValue(Card cardToCompare)
          Compares the Cards whether the value is the same or not
 boolean Card.isSameCalcValue(Card cardToCompare)
          Compares the Cards whether the value is the same or not
 boolean Card.isSameNullValue(Card cardToCompare)
          Compares the Cards whether the value is the same or not
 boolean Card.isSameNullValue(Card cardToCompare)
          Compares the Cards whether the value is the same or not
 boolean Card.isSameRamschValue(Card cardToCompare)
          Compares the Cards whether the value is the same or not
 boolean Card.isSameRamschValue(Card cardToCompare)
          Compares the Cards whether the value is the same or not
 boolean Card.isSameSuit(Card cardToCompare)
          Compares the Cards whether the suit is the same or not
 boolean Card.isSameSuit(Card cardToCompare)
          Compares the Cards whether the suit is the same or not
 boolean Card.isSameSuitGrandValue(Card cardToCompare)
          Compares the Cards whether the value is the same or not
 boolean Card.isSameSuitGrandValue(Card cardToCompare)
          Compares the Cards whether the value is the same or not
 boolean Card.isSameValue(Card cardToCompare)
          Compares the Cards whether the value is the same or not
 boolean Card.isSameValue(Card cardToCompare)
          Compares the Cards whether the value is the same or not
 Card CardVector.remove(Card card)
          Returns a reference to a Card in the CardVector and removes this card from the CardVector
 Card CardVector.remove(Card card)
          Returns a reference to a Card in the CardVector and removes this card from the CardVector
 

Constructor parameters in jskat.share with type arguments of type Card
CardVector(java.util.HashSet<Card> cardSet)
          Creates a new instance of CardVector from a HashSet of Cards
CardVector(java.util.HashSet<Card> cardSet)
          Creates a new instance of CardVector from a HashSet of Cards