|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.anji.ttt.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
contestantResults
- opponentResults
-
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
aWeights
-
Game.getMaxScore(com.anji.tournament.ScoringWeights)
public int getMinScore(ScoringWeights aWeights)
getMinScore
in interface Game
aWeights
-
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 |