|
Blackjack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
IHouseRules defines the public API for displaying and updating user-configurable casino options.
| Field Summary | |
static java.lang.String |
ANY_TWO_CARDS
The option of doubling any two cards |
static java.lang.String |
EARLY_SURRENDER
The option of early surrender availability |
static java.lang.String |
LATE_SURRENDER
The option of late surrender availability |
static java.lang.String |
NINE_TEN_ELEVEN
The option of doubling two cards that score 9, 10 or 11 |
static java.lang.String |
NO_SURRENDER
The option of no surrender availability |
static java.lang.String |
TEN_ELEVEN
The option of doubling two cards that score 10 or 11 |
| Method Summary | |
boolean |
canDoubleAfterSplit()
Indicates whether the player can double down after splitting. |
boolean |
canDoubleAnyTwoCards()
Indicates whether the user can double any two cards. |
boolean |
canDoubleNineTenElevenOnly()
Indicates whether the user can double a nine, ten, or eleven only. |
boolean |
canDoubleTenElevenOnly()
Indicates whether the user can double a ten or eleven only. |
boolean |
dealerHitsSoftSeventeen()
Indicates whether the dealer hits a soft seventeen. |
boolean |
earlySurrenderAvailable()
Indicates whether early surrender is available. |
int |
getMaxHardDealerHit()
Returns the highest hard score that a dealer would hit. |
int |
getMaxSoftDealerHit()
Returns the highest soft score that a dealer would hit. |
int |
getNumberOfDecks()
Returns the number of decks in the dealer's shoe. |
boolean |
lateSurrenderOnlyAvailable()
Indicates whether late surrender is available. |
boolean |
noSurrenderAvailable()
Indicates whether no surrender is available. |
void |
setCanDouble(java.lang.String value)
Sets the double down availability option. |
void |
setCanDoubleAfterSplit(boolean value)
Sets the double after split option. |
void |
setCanSurrender(java.lang.String value)
Sets the surrender availability option. |
void |
setDealerHitsSoftSeventeen(boolean value)
Sets the soft seventeen dealer option. |
void |
setEarlySurrenderAvailable()
Sets the surrender availability to early. |
void |
setNumberOfDecks(int numberOfDecks)
Sets the number of decks in the dealer's shoe. |
| Field Detail |
public static final java.lang.String ANY_TWO_CARDS
public static final java.lang.String TEN_ELEVEN
public static final java.lang.String NINE_TEN_ELEVEN
public static final java.lang.String NO_SURRENDER
public static final java.lang.String EARLY_SURRENDER
public static final java.lang.String LATE_SURRENDER
| Method Detail |
public int getNumberOfDecks()
public boolean canDoubleAfterSplit()
public boolean earlySurrenderAvailable()
public boolean dealerHitsSoftSeventeen()
public void setDealerHitsSoftSeventeen(boolean value)
dealerHitsSoftSeventeen - the new soft seventeen dealer policypublic void setCanDoubleAfterSplit(boolean value)
canDoubleAfterSplit - the new double after split policypublic void setNumberOfDecks(int numberOfDecks)
numberOfDecks - the new number of deckspublic void setEarlySurrenderAvailable()
public void setCanDouble(java.lang.String value)
canDouble - the new double down availabilitypublic boolean canDoubleAnyTwoCards()
public boolean canDoubleNineTenElevenOnly()
public boolean canDoubleTenElevenOnly()
public boolean lateSurrenderOnlyAvailable()
public boolean noSurrenderAvailable()
public void setCanSurrender(java.lang.String value)
canSurrender - the new surrender availabilitypublic int getMaxHardDealerHit()
public int getMaxSoftDealerHit()
|
Blackjack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||