chore: lifetimes

This commit is contained in:
2025-07-23 17:30:59 -05:00
parent 7744c06046
commit 4365639a1d
3 changed files with 9 additions and 9 deletions

View File

@@ -303,7 +303,7 @@ impl<'a> Moving for Ghost<'a> {
}
}
impl Renderable for Ghost<'_> {
impl<'a> Renderable for Ghost<'a> {
fn render(&self, canvas: &mut sdl2::render::Canvas<sdl2::video::Window>) {
let pos = self.base.base.pixel_position;
self.body_sprite.render(canvas, pos, Direction::Right, None);