mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-16 12:25:02 +01:00
Add music
This commit is contained in:
parent
20409e3ee2
commit
69b022ea02
3 changed files with 6 additions and 2 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue