Add music

This commit is contained in:
crumblingstatue 2023-04-03 23:36:45 +02:00
parent 20409e3ee2
commit 69b022ea02
3 changed files with 6 additions and 2 deletions

View file

@ -32,11 +32,13 @@ impl App {
pub fn new() -> anyhow::Result<Self> {
let rw = graphics::make_window();
let sf_egui = SfEgui::new(&rw);
let mut res = Res::load()?;
res.music.play();
Ok(Self {
rw,
should_quit: false,
game: GameState::default(),
res: Res::load()?,
res,
sf_egui,
input: Input::default(),
debug: DebugState::default(),