diff options
| author | troido <troido@protonmail.com> | 2020-02-23 11:28:00 +0100 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-02-23 11:28:00 +0100 |
| commit | d722e9b374dce358aeb9deb7298284fb07b1a5f5 (patch) | |
| tree | a34138fc14fe56813eed2d7f3f70138f8fc63fec /src/systems/moving.rs | |
| parent | 7262cfc53b4af978d6db1b91e3143200f906587f (diff) | |
more consistent imports
Diffstat (limited to 'src/systems/moving.rs')
| -rw-r--r-- | src/systems/moving.rs | 34 |
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 { |
