Class InputEventQueue

java.lang.Object
dev.engine.core.input.InputEventQueue

public class InputEventQueue extends Object
Thread-safe event queue. Providers push events from any thread; the game loop drains them at the start of each frame.

Uses synchronized ArrayDeque instead of ConcurrentLinkedQueue for TeaVM compatibility (synchronized is a no-op in the browser).

  • Constructor Details

    • InputEventQueue

      public InputEventQueue()
  • Method Details