public class GameInfoFromPlayHub
extends java.lang.Object
implements java.io.Serializable
protected void onCreate(Bundle savedInstanceState) { ... Bundle extras = getIntent().getExtras(); if ((extras != null) && (extras.containsKey(Consts.GAME_INFO_FROM_PLAYHUB_KEY))){ gameInfoFromPlayHub = (GameInfoFromPlayHub) extras.getSerializable(Consts.GAME_INFO_FROM_PLAYHUB_KEY); } }
Modifier and Type | Field and Description |
---|---|
int |
currentTurnUserIndex
The index in the users array of the player whose turn it currently is.
|
byte[] |
innerGameState
The game-specific data.
|
boolean |
isGameAlreadyFinished
Whether the game has finished or not.
|
UserInfoFromPlayHub[] |
users
An array containing information about all the users in the game.
|
int |
viewingUserIndex
The index in the users array of the player who is currently viewing the game.
|
Constructor and Description |
---|
GameInfoFromPlayHub() |
public UserInfoFromPlayHub[] users
public int currentTurnUserIndex
public int viewingUserIndex
public byte[] innerGameState
public boolean isGameAlreadyFinished