javafx - Continue loop with enter -


so i'm working on javafx project in have loop, want continue if enter pressed. since i'm working scenes , it's javafx not want use scanner method (because can't, or can ?) wants input entered console not in game frame.

i searched web way found scanner , not work. there other possible way or use scanner somehow.

thanks in advance..

take @ question. should attach keyevent listener , updade yor state cause loop continue. note loop in case shoul run in separate thread.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -