Blackjack

com.amoebacode.blackjack.core
Class Preferences

java.lang.Object
  |
  +--com.amoebacode.blackjack.core.Preferences
All Implemented Interfaces:
IPreferences

class Preferences
extends java.lang.Object
implements IPreferences

Preferences manages the set of game preferences.

Version:
0.9
Author:
Jason Gurney

Field Summary
private  boolean strategyTutor
          Indicates whether the basic strategy tutor is on
 
Fields inherited from interface com.amoebacode.blackjack.core.IPreferences
BET_INTERVAL, DEFAULT_INITIAL_BALANCE, DEFAULT_INITIAL_BET, MAXIMUM_BET, MINIMUM_BET
 
Constructor Summary
protected Preferences()
          Default protected constructor.
 
Method Summary
 boolean isStrategyTutor()
          Indicates whether the basic strategy tutor is on.
 void setStrategyTutor(boolean strategyTutor)
          Turns the basic strategy tutor on or off.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

strategyTutor

private boolean strategyTutor
Indicates whether the basic strategy tutor is on
Constructor Detail

Preferences

protected Preferences()
Default protected constructor.
Method Detail

isStrategyTutor

public boolean isStrategyTutor()
Description copied from interface: IPreferences
Indicates whether the basic strategy tutor is on.
Specified by:
isStrategyTutor in interface IPreferences
See Also:
IPreferences.isStrategyTutor()

setStrategyTutor

public void setStrategyTutor(boolean strategyTutor)
Description copied from interface: IPreferences
Turns the basic strategy tutor on or off.
Specified by:
setStrategyTutor in interface IPreferences
See Also:
IPreferences.setStrategyTutor(boolean)

Blackjack

Copyright © 2002 amoebacode.com.