Class InputEventQueue
java.lang.Object
dev.engine.core.input.InputEventQueue
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpushInput(InputEvent event) voidpushWindow(WindowEvent event)
-
Constructor Details
-
InputEventQueue
public InputEventQueue()
-
-
Method Details
-
pushInput
-
pushWindow
-
drainInput
-
drainWindow
-