private void setWord() { if (notSelected) { generater.horde3true(); word = generater.getRandomWord(); audio2 = new AudioClip(); audio2 = audioHandler.getAudio(word); notSelected = false; } }
private void setWord() { if (notSelected) { generater.horde1true(); word = generater.getRandomWord(); audio2 = new AudioClip(); audio2 = audioHandler.getAudio(word); //print("Audio: " + audioHandler.getAudio(word) + " woord: " + word); notSelected = false; } }