Add an event to the internal event queue, or process it immediately if the sketch is not currently looping.
(processing.event.Event pe)
| 2635 | * the sketch is not currently looping. |
| 2636 | */ |
| 2637 | public void postEvent(processing.event.Event pe) { |
| 2638 | eventQueue.add(pe); |
| 2639 | |
| 2640 | if (!looping) { |
| 2641 | dequeueEvents(); |
| 2642 | } |
| 2643 | } |
| 2644 | |
| 2645 | |
| 2646 | protected void dequeueEvents() { |
no test coverage detected