From 8d2b43adf933dd63a94ed66289283e9926da2d03 Mon Sep 17 00:00:00 2001 From: DanielMowitz <53856770+DanielMowitz@users.noreply.github.com> Date: Thu, 19 Sep 2019 13:33:30 +0200 Subject: [PATCH] Update lib.rs Removed some superfluous things --- src/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index fb239b2..ee31eff 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -3,8 +3,6 @@ extern crate rand; extern crate sdl2; -use dispatcher::Dispatcher; - pub mod dispatcher; pub mod action; pub mod store; @@ -20,7 +18,7 @@ pub mod scene_manager; mod tests; /// "Front-end"-function of the dispatcher -pub fn game_loop<'a>(mut disp: & mut dispatcher::Dispatcher<'a>, store_refs: Vec<&'a mut store::Store<'a>>) { //todo: HMM +pub fn game_loop<'a>(mut disp: & mut dispatcher::Dispatcher<'a>, store_refs: Vec<&'a mut store::Store<'a>>) { disp.enter_refs(store_refs);