diff --git a/examples/open_window.rs b/examples/open_window.rs index 8b1197c..04e2b73 100644 --- a/examples/open_window.rs +++ b/examples/open_window.rs @@ -24,7 +24,6 @@ impl WindowHandler for MyProgram { fn on_event(&mut self, window: &mut Window, event: Event) { match event { - Event::Interval(delta_time) => println!("Update interval, delta time: {}", delta_time), Event::Mouse(e) => println!("Mouse event: {:?}", e), Event::Keyboard(e) => println!("Keyboard event: {:?}", e), Event::Window(e) => println!("Window event: {:?}", e), diff --git a/src/event.rs b/src/event.rs index 0e34836..d03cedf 100644 --- a/src/event.rs +++ b/src/event.rs @@ -103,7 +103,6 @@ pub enum FileDropEvent { #[derive(Debug)] pub enum Event { - Interval(f64), // delta time passed Mouse(MouseEvent), Keyboard(KeyboardEvent), Window(WindowEvent),