src/neon/input/InputSystem.java
/** WARNING: Do not call this method. It is only to be called by core library classes. */
Do not call this method. It is only to be called by core library classes.
Do not call this method . It is only to be called by core library classes .
public static void update() {
    keyPresses = keyPressQueue.toArray(new KeyInteraction[0]);
    keyPressQueue.clear();
    keyReleases = keyReleaseQueue.toArray(new KeyInteraction[0]);
    keyReleaseQueue.clear();
    keysTyped = keyTypeQueue.toArray(new KeyInteraction[0]);
    keyTypeQueue.clear();
    keysHeld = keyHeldQueue.toArray(new KeyInteraction[0]);
    mousePresses = mousePressQueue.toArray(new MouseInteraction[0]);
    mousePressQueue.clear();
    mouseReleases = mouseReleaseQueue.toArray(new MouseInteraction[0]);
    mouseReleaseQueue.clear();
  }
public static void update ( ) { keyPresses = keyPressQueue . toArray ( new KeyInteraction [ 0 ] ) ; keyPressQueue . clear ( ) ; keyReleases = keyReleaseQueue . toArray ( new KeyInteraction [ 0 ] ) ; keyReleaseQueue . clear ( ) ; keysTyped = keyTypeQueue . toArray ( new KeyInteraction [ 0 ] ) ; keyTypeQueue . clear ( ) ; keysHeld = keyHeldQueue . toArray ( new KeyInteraction [ 0 ] ) ; mousePresses = mousePressQueue . toArray ( new MouseInteraction [ 0 ] ) ; mousePressQueue . clear ( ) ; mouseReleases = mouseReleaseQueue . toArray ( new MouseInteraction [ 0 ] ) ; mouseReleaseQueue . clear ( ) ; }
WARNING: Do not call this method.
WARNING : Do not call this method .