include trayVisState in GameStateInfo on the java side

This commit is contained in:
Eric House 2012-06-05 22:13:58 -07:00
parent 60a4f123a2
commit 6257c14436
2 changed files with 2 additions and 0 deletions

View file

@ -1256,6 +1256,7 @@ Java_org_eehouse_android_xw4_jni_XwJNI_game_1getState
game_getState( &state->game, &info );
setInt( env, jgsi, "visTileCount", info.visTileCount );
setInt( env, jgsi, "trayVisState", info.trayVisState );
setBool( env, jgsi, "canHint", info.canHint );
setBool( env, jgsi, "canRedo", info.canRedo);
setBool( env, jgsi, "inTrade", info.inTrade );

View file

@ -96,6 +96,7 @@ public class JNIThread extends Thread {
public class GameStateInfo implements Cloneable {
public int visTileCount;
public int trayVisState;
public boolean canHint;
public boolean canRedo;
public boolean inTrade;