Uses of Class
ks.common.model.Card

Packages that use Card
ks.common.model Core set of classes needed to support the modeling within KombatSolitaire Plugins. 
ks.common.view Core set of classes needed to properly view KombatSolitaire Plugins. 
 

Uses of Card in ks.common.model
 

Methods in ks.common.model that return Card
 Card Stack.get()
          Remove top card from the pile and return it to the callee (or return null if empty).
 Card Stack.peek()
          Peek and return a copy of the top-most card (or null if empty).
 Card Stack.peek(int idx)
          Peek and return a copy of the card identified by idx in the stack.
 

Methods in ks.common.model with parameters of type Card
 void Stack.add(Card c)
          Add a card into the stack.
 int Card.compareTo(Card c)
          Compares cards based on ranks.
 boolean Card.oppositeColor(Card c)
          Determines whether the two cards have opposite colors.
 boolean Card.sameColor(Card c)
          Determine whether the two cards have the same color.
 boolean Card.sameRank(Card c)
          Determine whether two cards have the same rank.
 boolean Card.sameSuit(Card c)
          Determine whether the two cards have the same suit.
 

Constructors in ks.common.model with parameters of type Card
Card(Card c)
          Construct a card that is a copy of the given Card.
 

Uses of Card in ks.common.view
 

Methods in ks.common.view with parameters of type Card
 java.awt.Image CardImages.getCardImage(Card c)
          Get the card image given a Card Object.
 void CardImages.setCardImage(Card c, java.awt.Image img)
          Used by CardImagesLoader to set the appropriate image once loaded.
 

Constructors in ks.common.view with parameters of type Card
CardView(Card card)
          CardView constructor comment.