summaryrefslogtreecommitdiff
path: root/src/systems/moving.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/systems/moving.rs')
-rw-r--r--src/systems/moving.rs34
1 files changed, 16 insertions, 18 deletions
diff --git a/src/systems/moving.rs b/src/systems/moving.rs
index f5c1b4a..ccd9455 100644
--- a/src/systems/moving.rs
+++ b/src/systems/moving.rs
@@ -11,26 +11,24 @@ use specs::{
Write
};
-use crate::pos::Pos;
-
-use crate::components::{
- Controller,
- Blocking,
- Position,
- Floor,
- Moved
-};
-
-use crate::controls::{
- Control
+use crate::{
+ Pos,
+ components::{
+ Controller,
+ Blocking,
+ Position,
+ Floor,
+ Moved
+ },
+ controls::{
+ Control
+ },
+ resources::{
+ Size,
+ Ground
+ },
};
-use crate::resources::{
- Size,
- Ground
-};
-
-
pub struct Move;
impl <'a> System<'a> for Move {