Blackjack

com.amoebacode.blackjack.core
Interface IPreferences

All Known Implementing Classes:
Preferences

public interface IPreferences

IPreferences defines the public API for managing the set of game preferences.

Version:
0.9
Author:
Jason Gurney

Field Summary
static int BET_INTERVAL
          The number of units by which to increase/decrease the player's bet
static int DEFAULT_INITIAL_BALANCE
          The player's default initial balance
static int DEFAULT_INITIAL_BET
          The player's default initial bet
static int MAXIMUM_BET
          The player's maximum bet
static int MINIMUM_BET
          The player's minimum bet
 
Method Summary
 boolean isStrategyTutor()
          Indicates whether the basic strategy tutor is on.
 void setStrategyTutor(boolean value)
          Turns the basic strategy tutor on or off.
 

Field Detail

DEFAULT_INITIAL_BALANCE

public static final int DEFAULT_INITIAL_BALANCE
The player's default initial balance

DEFAULT_INITIAL_BET

public static final int DEFAULT_INITIAL_BET
The player's default initial bet

BET_INTERVAL

public static final int BET_INTERVAL
The number of units by which to increase/decrease the player's bet

MINIMUM_BET

public static final int MINIMUM_BET
The player's minimum bet

MAXIMUM_BET

public static final int MAXIMUM_BET
The player's maximum bet
Method Detail

isStrategyTutor

public boolean isStrategyTutor()
Indicates whether the basic strategy tutor is on.
Returns:
true if the basic strategy tutor is on

setStrategyTutor

public void setStrategyTutor(boolean value)
Turns the basic strategy tutor on or off.
Parameters:
strategyTutor - the new basic strategy tutor setting

Blackjack

Copyright © 2002 amoebacode.com.