ks.domain
Class GameResult

java.lang.Object
  extended byks.domain.GameResult
All Implemented Interfaces:
java.io.Serializable

public class GameResult
extends java.lang.Object
implements java.io.Serializable

Class to represent the result of a solitaire competition.

Since:
V1.7.3
See Also:
Serialized Form

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

GameResult

public 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.

The date is also included as a parameter.

Method Detail

getGameStats

public java.util.Enumeration getGameStats()
Return Enumeration of GameStat objects.


getGameTime

public java.util.Date getGameTime()
Returns the name of the game played.


getGameType

public java.lang.String getGameType()
Returns the name of the game played.


getNumPlayers

public int getNumPlayers()
Return number of players.