|
Blackjack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.amoebacode.blackjack.command.AvailableCommands
|
+--com.amoebacode.blackjack.command.AvailableGameCommands
AvailableGameCommands tracks a set of currently available game commands.
| Field Summary | |
private static java.lang.String |
COMMAND_DEAL
A String representing the deal command |
private static java.lang.String |
COMMAND_HOUSE_RULES
A String representing the edit house rules command |
private static java.lang.String |
COMMAND_LOWER_BET
A String representing the lower bet command |
private static java.lang.String |
COMMAND_PREFERENCES
A String representing the edit preferences command |
private static java.lang.String |
COMMAND_RAISE_BET
A String representing the raise bet command |
private static java.lang.String |
COMMAND_SHUFFLE
A String representing the shuffle command |
| Fields inherited from class com.amoebacode.blackjack.command.AvailableCommands |
commands |
| Constructor Summary | |
AvailableGameCommands()
Default public constructor. |
|
| Method Summary | |
boolean |
isDealAvailable()
Indicates whether the deal command is currently available. |
boolean |
isHouseRulesAvailable()
Indicates whether the edit house rules command is currently available. |
boolean |
isLowerBetAvailable()
Indicates whether the lower bet command is currently available. |
boolean |
isPreferencesAvailable()
Indicates whether the edit preferences command is currently available. |
boolean |
isRaiseBetAvailable()
Indicates whether the raise bet command is currently available. |
boolean |
isShuffleAvailable()
Indicates whether the shuffle command is currently available. |
void |
setDealAvailable()
Sets the availability of the deal command. |
void |
setHouseRulesAvailable()
Sets the availability of the edit house rules command. |
void |
setLowerBetAvailable()
Sets the availability of the lower bet command. |
void |
setPreferencesAvailable()
Sets the availability of the edit preferences command. |
void |
setRaiseBetAvailable()
Sets the availability of the raise bet command. |
void |
setShuffleAvailable()
Sets the availability of the shuffle command. |
| Methods inherited from class com.amoebacode.blackjack.command.AvailableCommands |
addAvailableCommand, isAvailableCommand |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private static final java.lang.String COMMAND_DEAL
private static final java.lang.String COMMAND_SHUFFLE
private static final java.lang.String COMMAND_HOUSE_RULES
private static final java.lang.String COMMAND_PREFERENCES
private static final java.lang.String COMMAND_RAISE_BET
private static final java.lang.String COMMAND_LOWER_BET
| Constructor Detail |
public AvailableGameCommands()
| Method Detail |
public boolean isDealAvailable()
public void setDealAvailable()
public boolean isShuffleAvailable()
public void setShuffleAvailable()
public boolean isHouseRulesAvailable()
public void setHouseRulesAvailable()
public boolean isPreferencesAvailable()
public void setPreferencesAvailable()
public boolean isRaiseBetAvailable()
public void setRaiseBetAvailable()
public boolean isLowerBetAvailable()
public void setLowerBetAvailable()
|
Blackjack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||