From d722e9b374dce358aeb9deb7298284fb07b1a5f5 Mon Sep 17 00:00:00 2001 From: troido Date: Sun, 23 Feb 2020 11:28:00 +0100 Subject: more consistent imports --- src/systems/moving.rs | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) (limited to 'src/systems/moving.rs') 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 { -- cgit