functions in entityservice for listening to gamesession and gamestate
To test:
In androidLauncher, for use the listenToGameSession() function and change the gameSession in the db. Example:
service.listenToGameSession("9207", new FirestoreCallback() {
@Override
public void onSuccess(Object data) {
Log.d("AndroidLauncher", "GameSessionData: " + data);
}
@Override
public void onFailure(Exception e) {
Log.d("AndroidLauncher", "Error: " + e.getMessage());
}
});
Can do the same for gameState.
Closes #33 (closed)