public class GameInfo
extends java.lang.Object
implements java.io.Serializable
jpleal@fc.up.pt
Constructor and Description |
---|
GameInfo() |
GameInfo(java.lang.String gameId,
java.lang.String gameName,
int playersCount,
java.util.Date startDate,
java.util.Date lastAccessDate) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getGameId()
Id of this game.
|
java.lang.String |
getGameName()
Name of this game.
|
java.util.Date |
getLastAccessDate()
Moment when this game was last accessed:
a player was added or a card played.
|
int |
getPlayersCount()
Number players currently in this game.
|
java.util.Date |
getStartDate()
Moment when this game was created.
|
public GameInfo()
public GameInfo(java.lang.String gameId, java.lang.String gameName, int playersCount, java.util.Date startDate, java.util.Date lastAccessDate)
public java.lang.String getGameId()
public java.lang.String getGameName()
public int getPlayersCount()
public java.util.Date getStartDate()
public java.util.Date getLastAccessDate()