|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.anji.ttt.TttGame
public class TttGame
Constructor Summary | |
---|---|
TttGame()
|
Method Summary | |
---|---|
int |
getMaxScore(ScoringWeights aWeights)
|
int |
getMinScore(ScoringWeights aWeights)
|
void |
init(Properties props)
|
GameResults |
play(PlayerResults contestantResults,
PlayerResults opponentResults)
|
java.lang.Class |
requiredPlayerClass()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TttGame()
Method Detail |
---|
public GameResults play(PlayerResults contestantResults, PlayerResults opponentResults)
play
in interface Game
GameResults
for this game only; these totals are also added to each
players resultsGame.play(com.anji.tournament.PlayerResults,
com.anji.tournament.PlayerResults)
public java.lang.Class requiredPlayerClass()
requiredPlayerClass
in interface Game
Player
Game.requiredPlayerClass()
public int getMaxScore(ScoringWeights aWeights)
getMaxScore
in interface Game
Game.getMaxScore(com.anji.tournament.ScoringWeights)
public int getMinScore(ScoringWeights aWeights)
getMinScore
in interface Game
Game.getMinScore(com.anji.tournament.ScoringWeights)
public void init(Properties props) throws java.lang.Exception
init
in interface Configurable
props
- configuration parameters
java.lang.Exception
Configurable.init(com.anji.util.Properties)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |