Put music and graphics in different folders

This commit is contained in:
crumblingstatue 2023-04-15 16:14:49 +02:00
parent 85198d725f
commit 5ec0ad0da4
6 changed files with 4 additions and 4 deletions

View file

@ -11,10 +11,10 @@ pub struct Res {
impl Res {
pub fn load() -> anyhow::Result<Self> {
Ok(Self {
tile_atlas: Texture::from_file("res/tiles.png")?,
light_texture: Texture::from_file("res/light2.png")?,
surf_music: Music::from_file("res/music.ogg").unwrap(),
und_music: Music::from_file("res/cave2.ogg").unwrap(),
tile_atlas: Texture::from_file("res/graphics/tiles.png")?,
light_texture: Texture::from_file("res/graphics/light2.png")?,
surf_music: Music::from_file("res/music/music.ogg").unwrap(),
und_music: Music::from_file("res/music/cave2.ogg").unwrap(),
})
}
}