/** Updates the stored data used by input devices. */
 public static void updateAllInputs() {
   keyboard.poll();
   mouse.poll();
   window.poll();
 }
예제 #2
0
파일: Keyboard.java 프로젝트: Quetz696/Game
 /** Polls the keyboard for new keys that might be pressed this update. */
 public static void poll() {
   keyboard.poll();
 }