Browse Source

working titlescreen, almost at where i was before woo

amethyst
Isabelle L. 5 years ago
parent
commit
5325aa56df
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/main.rs

+ 2
- 1
src/main.rs View File

@@ -1,4 +1,5 @@
// modules // modules
mod resources;
mod states; mod states;


// namespacing // namespacing
@@ -48,7 +49,7 @@ fn main() -> amethyst::Result<()> {
)?; )?;


// create and run the game // 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(); game.run();


Ok(()) Ok(())


Loading…
Cancel
Save