Package edu.wisc.game.rest
Class PregameService.PregameResponseBase
java.lang.Object
edu.wisc.game.rest.ResponseBase
edu.wisc.game.rest.PregameService.PregameResponseBase
- Direct Known Subclasses:
PregameService.BookletSize
,PregameService.Page
- Enclosing class:
PregameService
Some info + error code
-
Constructor Summary
ConstructorsConstructorDescriptionIdentifies and tests the pregame experience directory for the player's experiment plan. -
Method Summary
Modifier and TypeMethodDescriptionFile[]
int
double
getPath()
void
setBookletSize
(int _bookletSize) void
setGoodnessScore
(double _goodnessScore)
-
Constructor Details
-
PregameResponseBase
Identifies and tests the pregame experience directory for the player's experiment plan. The main parameter for that is "pregame", but for legacy (pre ver. 6.*) plans we also look at "init". We only look at this parameter ("pregame") in the first parameter set of the experiment, and ignore its values in subsequent para sets.- Parameters:
pid
- playerId. The server will look up the pregame experience directory for that player's experiment plan.
-
-
Method Details
-
getBookletSize
public int getBookletSize() -
setBookletSize
public void setBookletSize(int _bookletSize) -
getPath
-
_getBookletPages
-
getGoodnessScore
public double getGoodnessScore() -
setGoodnessScore
public void setGoodnessScore(double _goodnessScore)
-