Remove Interval event
This commit is contained in:
parent
52580cc2a9
commit
e67887d92f
|
@ -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),
|
||||
|
|
|
@ -103,7 +103,6 @@ pub enum FileDropEvent {
|
|||
|
||||
#[derive(Debug)]
|
||||
pub enum Event {
|
||||
Interval(f64), // delta time passed
|
||||
Mouse(MouseEvent),
|
||||
Keyboard(KeyboardEvent),
|
||||
Window(WindowEvent),
|
||||
|
|
Loading…
Reference in a new issue