mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-08 18:08:05 -06:00
chore: configure rustfmt, switch to LF line endings
This commit is contained in:
@@ -58,11 +58,7 @@ impl<'a> Moving for Pacman<'a> {
|
||||
|
||||
impl Pacman<'_> {
|
||||
/// Creates a new `Pacman` instance.
|
||||
pub fn new<'a>(
|
||||
starting_position: (u32, u32),
|
||||
atlas: Texture<'a>,
|
||||
map: Rc<RefCell<Map>>,
|
||||
) -> Pacman<'a> {
|
||||
pub fn new<'a>(starting_position: (u32, u32), atlas: Texture<'a>, map: Rc<RefCell<Map>>) -> Pacman<'a> {
|
||||
let pixel_position = Map::cell_to_pixel(starting_position);
|
||||
Pacman {
|
||||
base: MovableEntity::new(
|
||||
|
||||
Reference in New Issue
Block a user