Should only handle sending messages out to users
()
| 701 | |
| 702 | // Should only handle sending messages out to users |
| 703 | func (w *World) EventLoop() { |
| 704 | |
| 705 | w.eventRequeue = w.eventRequeue[:0] |
| 706 | |
| 707 | events.ProcessEvents() |
| 708 | |
| 709 | for _, e := range w.eventRequeue { |
| 710 | events.AddToQueue(e) |
| 711 | } |
| 712 | |
| 713 | clear(w.userInputEventTracker) |
| 714 | clear(w.mobInputEventTracker) |
| 715 | } |
no test coverage detected