Uses of Class
Card

Uses of Card in <Unnamed>
 

Methods in <Unnamed> that return Card
 Card ICardPile.getCard()
          Gets top card from stack
 Card CardPile.getCard()
          Gets top card from pile, unless pile is empty
 Card CellPiles.getCard(int cellNum)
          In order to make checks on a given card, or to see if a card is available, this method helps you out
 Card TableauPiles.getCard(int numTab)
          Returns the last card in Tableau numTab.
 Card[][] TableauPiles.getTableaus()
          Creates a 2-D array of the tableaus.
 Card ICardPile.removeCard()
          Removes top card from stack
 Card CardPile.removeCard()
          Adds a card to the pile, if card is addable
 Card CellPiles.removeCard(int cellNum)
          Removes a card to the appropriate cell, the Cell object already checks if the cell is empty or not
 Card TableauPiles.removeCard(int numTab)
          Tells Tableau numTab to remove its last card and returns it.
 

Methods in <Unnamed> that return types with arguments of type Card
 java.util.ArrayList<Card> CellPiles.getCards()
          Returns all the cards in the cells
 java.util.ArrayList<Card> FoundationPiles.getHighCards()
          Method which returns the high cards of the four foundations
 

Methods in <Unnamed> with parameters of type Card
 boolean FoundationPiles.addCard(Card card)
          Method which adds card to corresponding foundation
 boolean ICardPile.addCard(Card card)
          Adds a card to stack
 boolean CardPile.addCard(Card card)
          Adds a card to the pile, if card is addable
 boolean CellPiles.addCard(Card card, int cellNum)
          Adds a card to the appropriate cell, the Cell object already checks if the cell is empty or not
 boolean TableauPiles.addCard(Card card, int destinationTab)
          Tells tableau destinationTab to add a new card to itself.
 boolean Card.alternateSuit(Card c)
          Checks to make certain that the card you have and the one you want to compare it to are of alternate suits.
 boolean Card.checkRank(Card c)
          If you want to check a Card Object's rank versus the one you currently have, this is the method you want to use
 boolean TableauPiles.deal1Card(Card newCard, int i)
          Adds card to the ith tableau when dealing
 boolean CardPile.dealCard(Card card)
          Deals a card to the pile.
 boolean CardPile.forceAddCard(Card card)
          Adds a card to pile (no conditions)
 boolean TableauPiles.forceAddlCard(Card card, int destinationTab)
          Tells tableau destinationTab to add a new card to itself.
 boolean Foundation.isAddable(Card card)
          Overrides default isAddable method
 boolean FoundationPiles.isAddable(Card card)
          Method for determining whether card can be added to a foundation
 boolean ICardPile.isAddable(Card card)
          Checks if card can be added to stack
 boolean Tableau.isAddable(Card card)
          Checks to see if adding a card to this tableau is a legal move.
 boolean CardPile.isAddable(Card card)
          Checks if card can be added to pile By default, as long as pile is not empty, a card can be removed
 boolean FoundationPiles.isCardMovableToFound(Card toMove)
          Checks if card toMove can be automatically moved to foundation
 boolean Card.isOneHigher(Card card)
          Method observes the rank of two cards and compares them.
 boolean Card.isOneLower(Card card)
          Method observes the rank of two cards and compares them.
 boolean Foundation.isRemovable(Card card)
          Overrides default isRemovable method Returns false, since you cannot remove from a foundation
 boolean CardPile.isSameSuit(Card card)
          Checks if pile is of the same suit as card
 void Printer.printCard(Card c)
          Prints card c, by first converting it into a string
 boolean Card.sameSuit(Card c)
          Method used to check whether or not your card has the same suit as the card you are currently comparing it to.