Class Dealer

java.lang.Object
  
public class Dealer
extends People


Field Summary
 Deck deck
           
 
Fields inherited from class
age, firstName, hand, lastName
 
Constructor Summary
Dealer()
           
 
Method Summary
 Card cardReplacement(Card oldCard)
          Actually does nothing with the card given because we are not tracking discards.
 void deal(Hand hand)
           
 
Methods inherited from class
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

deck

public Deck deck
Constructor Detail

Dealer

public Dealer()
Method Detail

cardReplacement

public Card cardReplacement(Card oldCard)
Actually does nothing with the card given because we are not tracking discards.

Parameters:
oldCard - An array of new cards the dealer gives back

deal

public void deal(Hand hand)