示例#1
0
 private void setWord()
 {
     if (notSelected)
     {
         generater.horde3true();
         word        = generater.getRandomWord();
         audio2      = new AudioClip();
         audio2      = audioHandler.getAudio(word);
         notSelected = false;
     }
 }
示例#2
0
 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;
     }
 }