com.anji.tournament
Class GameConfiguration

java.lang.Object
  extended by com.anji.tournament.GameConfiguration
All Implemented Interfaces:
Configurable

public class GameConfiguration
extends java.lang.Object
implements Configurable

Author:
Philip Tucker

Field Summary
static GameConfiguration DEFAULT
          default configuration
 
Constructor Summary
GameConfiguration()
          default ctor; call init() to initialize
GameConfiguration(boolean aResetPlayers, boolean aLogResults)
           
 
Method Summary
 boolean doLogResults()
           
 boolean doResetPlayers()
           
 void init(Properties props)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final GameConfiguration DEFAULT
default configuration

Constructor Detail

GameConfiguration

public GameConfiguration()
default ctor; call init() to initialize


GameConfiguration

public GameConfiguration(boolean aResetPlayers,
                         boolean aLogResults)
Parameters:
aResetPlayers -
aLogResults -
Method Detail

init

public void init(Properties props)
          throws java.lang.Exception
Specified by:
init in interface Configurable
Parameters:
props - configuration parameters
Throws:
java.lang.Exception
See Also:
Configurable.init(com.anji.util.Properties)

doResetPlayers

public boolean doResetPlayers()
Returns:
reset players

doLogResults

public boolean doLogResults()
Returns:
log results