|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectks.domain.GameResult
Class to represent the result of a solitaire competition.
Constructor Summary | |
GameResult(java.lang.String gameType,
int numPlayers,
java.util.Enumeration gameStats,
java.util.Date gameStartTime)
Game result consists of the type of game, number of players, plus stats results. |
Method Summary | |
java.util.Enumeration |
getGameStats()
Return Enumeration of GameStat objects. |
java.util.Date |
getGameTime()
Returns the name of the game played. |
java.lang.String |
getGameType()
Returns the name of the game played. |
int |
getNumPlayers()
Return number of players. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GameResult(java.lang.String gameType, int numPlayers, java.util.Enumeration gameStats, java.util.Date gameStartTime)
The date is also included as a parameter.
Method Detail |
public java.util.Enumeration getGameStats()
public java.util.Date getGameTime()
public java.lang.String getGameType()
public int getNumPlayers()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |