diff --git a/src/main.rs b/src/main.rs index c783b99..a27916a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,5 @@ // modules +mod resources; mod states; // namespacing @@ -48,7 +49,7 @@ fn main() -> amethyst::Result<()> { )?; // create and run the game - let mut game = Application::new(assets, states::preload_state::PreloadState, game_data)?; + let mut game = Application::new(assets, states::preload::PreloadState::new(), game_data)?; game.run(); Ok(())