mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-15 20:25:00 +01:00
Put music and graphics in different folders
This commit is contained in:
parent
85198d725f
commit
5ec0ad0da4
6 changed files with 4 additions and 4 deletions
|
|
@ -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(),
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue