public void sendGameTurnSuccess(String data) { GameEngine.getInstance().openMenuGames(); }
public void getGameTurn(String gameId, int turn) { GameEngine.showLoading(); ServerDriver.getGameTurn(GameController.getInstance().getUser().getId(), gameId, turn); }
public void getGameTurnSuccess(JsonValue data, int turn) { GameEngine.getInstance().openGame(data, turn); }
public void getGamesList() { GameEngine.showLoading(); ServerDriver.getListGames(GameController.getInstance().getUser().getId()); }