public class GameInfoToReturnToPlayHub
extends java.lang.Object
implements java.io.Serializable
output.putExtra(Consts.GAME_INFO_TO_RETURN_TO_PLAYHUB_KEY, gameInfoToReturnToPlayHub); setResult(RESULT_OK, output); finish();
Modifier and Type | Class and Description |
---|---|
static class |
GameInfoToReturnToPlayHub.GameStateToReturnToPlayhub
The game's current state.
|
Modifier and Type | Field and Description |
---|---|
int |
currentTurnPlayerUserIndex
The index in the users array of the player which turn it now is.
|
GameInfoToReturnToPlayHub.GameStateToReturnToPlayhub |
gameState
The game's current state, after the current move (i.e.
|
byte[] |
innerGameState
The game's inner state.
|
java.util.Map<java.lang.Integer,java.lang.String> |
perUserMessages
This is an OPTIONAL MEMBER, and can be left as null if not needed.
|
int |
winnerUserIndex
The index in the users array of the player who won.
|
Constructor and Description |
---|
GameInfoToReturnToPlayHub() |
public int currentTurnPlayerUserIndex
public int winnerUserIndex
public GameInfoToReturnToPlayHub.GameStateToReturnToPlayhub gameState
public byte[] innerGameState
public java.util.Map<java.lang.Integer,java.lang.String> perUserMessages