コード例 #1
0
 /** 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();
 }