I am looking for an effective text input system for playing in Java. I am currently using the code I found here:
Keyboard polling input system
seems a bit inefficient (please comment on your thoughts on the code). The full code is available here:
Pastebin Code
I just started to learn a new solution and set the code separately, but does anyone have any suggestions on an effective way to do this in the main game loop (including an explanation)? Any help would be appreciated.
source
share