Package edu.wisc.game.rest
Class PlayerResponse
java.lang.Object
edu.wisc.game.rest.ResponseBase
edu.wisc.game.rest.PlayerResponse
public class PlayerResponse extends ResponseBase
The object returned by the /player call. This is the call that's
used at the beginning (or resumption) of a series, to create
a new player entry in the database or find an existing one.
-
Method Summary
Modifier and Type Method Description boolean
getAlreadyFinished()
True if this player has finished all episodes he could play.String
getCompletionCode()
String
getExperimentPlan()
boolean
getNewlyRegistered()
String
getPlayerId()
PlayerInfo
getPlayerInfo()
TrialList
getTrialList()
String
getTrialListId()
static void
main(String[] argv)
Handy testingvoid
setPlayerId(String _playerId)
-
Method Details
-
getNewlyRegistered
public boolean getNewlyRegistered() -
getTrialListId
-
getTrialList
-
getPlayerId
-
setPlayerId
-
getPlayerInfo
-
getAlreadyFinished
public boolean getAlreadyFinished()True if this player has finished all episodes he could play. This means that the most recent episode has been completed, and no more new episodes can be created. -
getCompletionCode
-
getExperimentPlan
-
main
Handy testing- Throws:
Exception
-