System.out.println(StartupClass.Client.getResult(id));
} else if (event.getSource() == view.startGameButton) {
System.out.println("gameID: " + gameID);
int id = StartupClass.Client.invoke("gameService", "startChampionSelection", new Object[] { gameID, 1 }); //TODO: what is this 1?
TypedObject result = StartupClass.Client.getResult(id).getTO("data");
System.out.println(result.toPrettyString());
}
} catch (Exception e) { e.printStackTrace(); }
}
protected void initializeWorkers() {