|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface Victory.Result
result class which can be queried for winner and if victory occurred victory might be true and winner "None" if the players have drawn winner might be NONE and team set to winning team. NOTE: a player which is in a team, should not win by himself. so if there is a winning team and a winning player it is a draw this should actually be a victorypoint-like structure with boolean for "game end" (victory) and 0.0(loss) to 1.0(victory) score for each team and player
| Method Summary | |
|---|---|
int[] |
getPlayers()
list players |
double |
getPlayerScore(int id)
|
java.util.ArrayList<Report> |
getReports()
|
int[] |
getTeams()
list teams |
double |
getTeamScore(int id)
list team scores all teams which are not listed, can be assumed to be at 0.0 |
int |
getWinningPlayer()
|
int |
getWinningTeam()
|
boolean |
isDraw()
|
boolean |
isWinningPlayer(int id)
|
boolean |
isWinningTeam(int id)
|
boolean |
victory()
|
| Method Detail |
|---|
boolean victory()
double getPlayerScore(int id)
int[] getPlayers()
double getTeamScore(int id)
int[] getTeams()
boolean isWinningTeam(int id)
boolean isWinningPlayer(int id)
java.util.ArrayList<Report> getReports()
int getWinningTeam()
int getWinningPlayer()
boolean isDraw()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||