Created
July 19, 2017 21:07
-
-
Save umurgdk/f65b9de75b694b12537cc72eb49dfb75 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for event in self.events.poll_iter() { | |
match event { | |
Event::Quit { .. } => self.running = false, | |
event => self.input.update(&self.events, event) | |
} | |
} |
Author
umurgdk
commented
Jul 19, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment