mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-19 22:26:57 +01:00
include trayVisState in GameStateInfo on the java side
This commit is contained in:
parent
60a4f123a2
commit
6257c14436
2 changed files with 2 additions and 0 deletions
|
@ -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 );
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue