|
-footer | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Hand | |
|---|---|
| garrettsmith.blackjack | Provides classes for playing a game of blackjack. |
| garrettsmith.blackjack.refimpl |
Provides for using the blackjack framework via the console and serves as an example implementation of
EventHandler. |
| Uses of Hand in garrettsmith.blackjack |
|---|
| Methods in garrettsmith.blackjack that return Hand | |
|---|---|
Hand |
Move.execute(Hand hand,
EventHandler handler,
CardList dealerCards)
Executes the move; should only be invoked internally by the framework. |
| Methods in garrettsmith.blackjack with parameters of type Hand | |
|---|---|
Hand |
Move.execute(Hand hand,
EventHandler handler,
CardList dealerCards)
Executes the move; should only be invoked internally by the framework. |
void |
EventHandler.handFinished(Hand hand,
double gain,
Result result,
CardList dealerCards)
Method that is invoked when a hand is done being played. |
boolean |
EventHandler.offerEarlySurrender(Hand hand)
Method that is optionally invoked if the player has the option of early surrender. |
Move |
EventHandler.offerRegularTurn(Hand hand)
Method invoked when the player is offered a turn. |
| Uses of Hand in garrettsmith.blackjack.refimpl |
|---|
| Methods in garrettsmith.blackjack.refimpl with parameters of type Hand | |
|---|---|
void |
TextPlayer.handFinished(Hand hand,
double gainOrLoss,
Result result,
CardList dealerCards)
|
boolean |
TextPlayer.offerEarlySurrender(Hand hand)
Invoked when early surrender is offered; this method then prompts the user. |
boolean |
TextPlayer.offerInsurance(Hand hand)
Invoked when insurance if available; always returns false. |
Move |
TextPlayer.offerRegularTurn(Hand hand)
|
|
-footer | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||