chore: remove unused code, resolve simple stuff

This commit is contained in:
2025-07-26 15:35:50 -05:00
parent 86ffc931e8
commit 4f87a116d5
7 changed files with 25 additions and 33 deletions

View File

@@ -105,7 +105,7 @@ impl Pacman {
),
death_animation: AnimatedTexture::new(
(0..=10)
.map(|i| get_atlas_tile(&atlas, &format!("pacman/death/{}.png", i)))
.map(|i| get_atlas_tile(&atlas, &format!("pacman/death/{i}.png")))
.collect(),
5,
),
@@ -138,6 +138,6 @@ impl Renderable for Pacman {
} else {
self.texture.render(canvas, dest, dir)?;
}
return Ok(());
Ok(())
}
}