|
-footer | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Card | |
|---|---|
| garrettsmith.blackjack | Provides classes for playing a game of blackjack. |
| garrettsmith.playingcards | Provides basic classes for simulating a game that uses playing cards. |
| Uses of Card in garrettsmith.blackjack |
|---|
| Methods in garrettsmith.blackjack that return Card | |
|---|---|
Card |
Hand.getDealerCard()
Returns the card that the dealer displays to the players. |
| Methods in garrettsmith.blackjack with parameters of type Card | |
|---|---|
static int |
Blackjack.calculateValue(Card card)
Calculates the value of a playing card according to the rules of Blackjack; assumes all aces are worth 1. |
static boolean |
Blackjack.isNonAceFaceCard(Card card)
Returns whether the card passed in is a non-Ace face card: a ten, jack, queen, or king. |
| Uses of Card in garrettsmith.playingcards |
|---|
| Methods in garrettsmith.playingcards that return Card | |
|---|---|
Card |
CardContainer.getCard()
Removes and returns a single card from the container. |
Card |
CardList.getCard(int index)
Returns a Card from the specified index. |
Card |
CardList.removeCard(int i)
Removes a Card at the specified index. |
|
-footer | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||