/** Inicializace hry -- volba nahodneho slova */ public void initializeGame() { List<String> words = app.getWords(); int rnd = (new Random()).nextInt(words.size()); secretWord = words.get(rnd); history.clear(); app.setGameCount(app.getGameCount() + 1); app.setTurn(0); }
public void incTurn() { app.incTurn(); }
public int getTurn() { return app.getTurn(); }