edu.uchicago.cs.java.lec03.console21
Class Chute

java.lang.Object
  extended by edu.uchicago.cs.java.lec03.console21.Chute

public class Chute
extends java.lang.Object


Field Summary
private  java.util.ArrayList<Card> crdCards
           
private  int nRemaining
           
 
Constructor Summary
Chute()
           
 
Method Summary
private  void add(Card crd)
           
 Card deal()
           
 java.util.ArrayList<Card> getCards()
           
 int getNumCards()
           
 int getNunCardsRemainingBeforeShuffle()
           
 void recapture(java.util.ArrayList<Card> crdParams)
           
 void setCards(java.util.ArrayList<Card> crdCards)
           
 void shuffle()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

crdCards

private java.util.ArrayList<Card> crdCards

nRemaining

private int nRemaining
Constructor Detail

Chute

public Chute()
Method Detail

getCards

public java.util.ArrayList<Card> getCards()

setCards

public void setCards(java.util.ArrayList<Card> crdCards)

recapture

public void recapture(java.util.ArrayList<Card> crdParams)

add

private void add(Card crd)

deal

public Card deal()

getNumCards

public int getNumCards()

getNunCardsRemainingBeforeShuffle

public int getNunCardsRemainingBeforeShuffle()

shuffle

public void shuffle()