|
||||||||||
| 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 that sets targetBullet to the min int value. |
|
| Method Summary | |
|---|---|
java.lang.Float |
getAverageMountain()
Getter for the player's average mountain. |
java.lang.Integer |
getMinMountain()
Returns minimum mountain in the game. |
int |
getNumberOfPlayers()
Returns the number of players in the game. |
java.util.List<PlayerStatistics> |
getPlayerStats()
Getter for the list of player statistics. |
java.lang.Integer |
getTargetBullet()
Getter for the target bullet players need to reach. |
boolean |
isFinalScoresReady()
Getter for the flag that indicates that the player final scores are ready for display. |
void |
setAverageMountain(java.lang.Float averageMountain)
Setter for the player's average mountain. |
void |
setFinalScoresReady(boolean finalScoresReady)
Setter for the flag that indicates that the player final scores are ready for display. |
void |
setMinMountain(java.lang.Integer minMountain)
Setter for the minimum mountain in the game. |
void |
setPlayerStats(java.util.List<PlayerStatistics> playerStats)
Setter for the list of player statistics. |
void |
setTargetBullet(java.lang.Integer targetBullet)
Setter for the target bullet players need to reach. |
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(boolean finalScoresReady)
finalScoresReady - True if the player final scores have
been generated; false otherwise.public java.lang.Integer getTargetBullet()
public void setTargetBullet(java.lang.Integer targetBullet)
targetBullet - Target bullet players need to reach.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 java.util.List<PlayerStatistics> getPlayerStats()
public void setPlayerStats(java.util.List<PlayerStatistics> playerStats)
playerStats - List of player statistics.public int getNumberOfPlayers()
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 | |||||||||