Removed useless use
This commit is contained in:
parent
59466243ec
commit
805e6409a1
|
@ -1,10 +1,7 @@
|
||||||
extern crate sfml;
|
extern crate sfml;
|
||||||
extern crate rusty;
|
extern crate rusty;
|
||||||
|
|
||||||
use std::time::{
|
use std::time::Instant;
|
||||||
Instant,
|
|
||||||
Duration,
|
|
||||||
};
|
|
||||||
|
|
||||||
use sfml::window::{
|
use sfml::window::{
|
||||||
Event,
|
Event,
|
||||||
|
@ -48,7 +45,6 @@ fn main() {
|
||||||
_ => (),
|
_ => (),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
scene.manage_event(&event);
|
scene.manage_event(&event);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -65,7 +61,6 @@ fn main() {
|
||||||
// Display and manage the frame rate
|
// Display and manage the frame rate
|
||||||
renderer.display();
|
renderer.display();
|
||||||
|
|
||||||
|
|
||||||
if ! running {
|
if ! running {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue