|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.curre.prefcount.bean.GameResultBean
public class GameResultBean
Object of this class represents a bean that holds all score and results for a preferance card game.
Created date: Apr 9, 2007
| Constructor Summary | |
|---|---|
GameResultBean()
Default ctor. |
|
| Method Summary | |
|---|---|
void |
clearResults()
Clears state associated with a game session. |
java.lang.Float |
getAverageMountain()
Getter for the player's average mountain. |
Place |
getDivisibleByNPlayer()
Getter for property 'divisibleByNPlayer' - player used for the divisible by N adjustments. |
java.lang.Integer |
getMaxPool()
Getter for the max pool value. |
java.lang.Integer |
getMinMountain()
Returns the minimum mountain in the game. |
int |
getNumberOfPlayers()
Returns the number of players in the game. |
java.util.Map<Place,PlayerStatistics> |
getPlayerStats()
Getter for the map of player statistics. |
boolean |
isFinalScoresReady()
Getter for the flag that indicates that the player final scores are ready for display. |
boolean |
isLeningradka()
Getter for the Leningradka pref type flag. |
boolean |
isMountDivisibleByN()
Getter for property 'mountNotDivisible'. |
void |
setAverageMountain(java.lang.Float averageMountain)
Setter for the player's average mountain. |
void |
setDivisibleByNPlayer(Place divisibleByNPlayer)
Setter for divisibleByNPlayer. |
void |
setFinalScoresReady()
Sets the flag that indicates that the player final scores are ready for display to true. |
void |
setLeningradka(boolean leningradka)
Setter for property 'leningradka'. |
void |
setMinMountain(java.lang.Integer minMountain)
Setter for the minimum mountain in the game. |
void |
setMountDivisibleByN(boolean mountDivisibleByN)
Setter for the mount divisibility flag. |
void |
setPlayerStats(java.util.Map<Place,PlayerStatistics> playerStats)
Setter for the player statistics map. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GameResultBean()
| Method Detail |
|---|
public boolean isFinalScoresReady()
public void setFinalScoresReady()
public java.lang.Integer getMaxPool()
public java.lang.Float getAverageMountain()
public void setAverageMountain(java.lang.Float averageMountain)
averageMountain - Player's average mountain to set.public java.lang.Integer getMinMountain()
public void setMinMountain(java.lang.Integer minMountain)
minMountain - Min mountain in the game to set.public boolean isLeningradka()
public void setLeningradka(boolean leningradka)
leningradka - Value to set for property 'leningradka'.public boolean isMountDivisibleByN()
public void setMountDivisibleByN(boolean mountDivisibleByN)
mountDivisibleByN - true if divisibility does not matter;
false - divisible by N (players number).public java.util.Map<Place,PlayerStatistics> getPlayerStats()
public void setPlayerStats(java.util.Map<Place,PlayerStatistics> playerStats)
playerStats - Map of player statistics.public void setDivisibleByNPlayer(Place divisibleByNPlayer)
divisibleByNPlayer - Player used for the divisible by N adjustments.public Place getDivisibleByNPlayer()
public int getNumberOfPlayers()
public void clearResults()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||