java.lang.Object
public class Dealer
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 |
---|
public Deck deck
Constructor Detail |
---|
public Dealer()
Method Detail |
---|
public Card cardReplacement(Card oldCard)
oldCard
- An array of new cards the dealer gives backpublic void deal(Hand hand)