pub trait EventLoop<E: Environment> {
fn run(
self,
map_schedule: Rc<RefCell<InteractiveMapSchedule<E>>>,
max_frames: Option<u64>
);
}Expand description
The event loop is responsible for processing events and propagating them to the map renderer.
Only non-headless windows use an EventLoop.