processAll

Processes all enqueued events by distributing them to objects in the scene that have registered listeners. This method should be called from the renderer's update phase to ensure events are processed synchronously with the game loop.

The keyboard state is updated first (before distributing events), so that listeners and other code can query the current key state during event processing.

After processing, all event queues are cleared.