Uses of Class
cs4099.Card

Uses of Card in cs4099
 

Methods in cs4099 that return Card
 Card[] State.findrequiredcards()
          Finds the cards required by the foundations in this state.
 Card Pile.getTopCard()
          Returns the top card of this pile - a shortcut for getting its suit and value.
 Card Pile.removeCard()
          Returns the topmost card, or a null if the topmost card cannot be removed.
 

Methods in cs4099 with parameters of type Card
 boolean Pile.addCard(Card card)
          Adds a card on to a pile, if it does not go against the constraints of the pile.
 java.lang.String Pile.canAddCard(Card card)
          Determines whether a card can be added to the pile.
 int Pile.contains(Card[] cards)
          Returns information on whether any of a set of cards exist in this pile.
 boolean Pile.dealCard(Card card)
          Forces adding a card to a pile - used in dealing the cards rather than playing them.
 boolean Card.equals(Card card)
          Comparator method for cards.
 

Constructors in cs4099 with parameters of type Card
Move(int sourcepile, int targetpile, Card movedcard)
          Creates a new Move with the specified properties.