Update lib.rs

Removed some superfluous things
This commit is contained in:
DanielMowitz 2019-09-19 13:33:30 +02:00 committed by GitHub
parent 9ca9d834d9
commit 8d2b43adf9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,8 +3,6 @@
extern crate rand; extern crate rand;
extern crate sdl2; extern crate sdl2;
use dispatcher::Dispatcher;
pub mod dispatcher; pub mod dispatcher;
pub mod action; pub mod action;
pub mod store; pub mod store;
@ -20,7 +18,7 @@ pub mod scene_manager;
mod tests; mod tests;
/// "Front-end"-function of the dispatcher /// "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); disp.enter_refs(store_refs);