mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-07 20:07:46 -06:00
feat: pacman next cell debug func
This commit is contained in:
@@ -101,6 +101,10 @@ impl Game<'_> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Draw the next cell
|
||||||
|
let next_cell = self.pacman.next_cell(None);
|
||||||
|
self.draw_cell((next_cell.0 as u32, next_cell.1 as u32), Color::YELLOW);
|
||||||
}
|
}
|
||||||
|
|
||||||
self.canvas.present();
|
self.canvas.present();
|
||||||
|
|||||||
Reference in New Issue
Block a user