|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Player.Action | |
---|---|
com.gbayer.basicblackjack | Core package - provides game, players, cards, etc. |
com.gbayer.basicblackjack.ui | User Interface package - provides UI interface and available UI implementations. |
Uses of Player.Action in com.gbayer.basicblackjack |
---|
Methods in com.gbayer.basicblackjack that return Player.Action | |
---|---|
Player.Action |
HumanPlayer.takeAction(UI ui)
Human player takes action based on UI prompts. |
Player.Action |
ComputerDealer.takeAction(UI ui)
Dealer takes action based on current hand value and dealer rules. |
abstract Player.Action |
Player.takeAction(UI ui)
Player takes one or more permitted actions. |
static Player.Action |
Player.Action.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Player.Action[] |
Player.Action.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Uses of Player.Action in com.gbayer.basicblackjack.ui |
---|
Methods in com.gbayer.basicblackjack.ui that return Player.Action | |
---|---|
Player.Action |
UI.getUserActionChoice()
Get user to choose an action. |
Player.Action |
ConsoleUI.getUserActionChoice()
|
Methods in com.gbayer.basicblackjack.ui with parameters of type Player.Action | |
---|---|
void |
UI.playerActionTaken(Player player,
Player.Action action)
Update UI to indicate the action that was taken. |
void |
ConsoleUI.playerActionTaken(Player player,
Player.Action action)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |