Package zombie.input

Class KeyboardStateCache

java.lang.Object
zombie.input.KeyboardStateCache

public final class KeyboardStateCache
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    KeyboardStateCache()  
  • Method Summary

    Modifier and Type Method Description
    KeyboardState getState()  
    KeyboardState getStatePolling()  
    void poll()  
    void swap()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • KeyboardStateCache

      public KeyboardStateCache()
  • Method Details

    • poll

      public void poll()
    • swap

      public void swap()
    • getState

      public KeyboardState getState()
    • getStatePolling

      public KeyboardState getStatePolling()