com.anji.tournament
Class GameConfiguration
java.lang.Object
com.anji.tournament.GameConfiguration
- All Implemented Interfaces:
- Configurable
public class GameConfiguration
- extends java.lang.Object
- implements Configurable
- Author:
- Philip Tucker
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT
public static final GameConfiguration DEFAULT
- default configuration
GameConfiguration
public GameConfiguration()
- default ctor; call
init()
to initialize
GameConfiguration
public GameConfiguration(boolean aResetPlayers,
boolean aLogResults)
- Parameters:
aResetPlayers
- aLogResults
-
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