mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-09 02:07:56 -06:00
chore: cargo fix
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
//! Debug rendering utilities for Pac-Man.
|
//! Debug rendering utilities for Pac-Man.
|
||||||
use crate::{
|
use crate::{
|
||||||
constants::{MapTile, BOARD_HEIGHT, BOARD_WIDTH},
|
constants::{MapTile, BOARD_HEIGHT, BOARD_WIDTH},
|
||||||
direction::Direction,
|
|
||||||
ghosts::blinky::Blinky,
|
ghosts::blinky::Blinky,
|
||||||
map::Map,
|
map::Map,
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -10,11 +10,10 @@ use sdl2::rwops::RWops;
|
|||||||
use sdl2::ttf::Font;
|
use sdl2::ttf::Font;
|
||||||
use sdl2::video::WindowContext;
|
use sdl2::video::WindowContext;
|
||||||
use sdl2::{pixels::Color, render::Canvas, video::Window};
|
use sdl2::{pixels::Color, render::Canvas, video::Window};
|
||||||
use tracing::event;
|
|
||||||
|
|
||||||
use crate::audio::Audio;
|
use crate::audio::Audio;
|
||||||
use crate::animation::{AtlasTexture, FrameDrawn};
|
use crate::animation::{AtlasTexture, FrameDrawn};
|
||||||
use crate::constants::{MapTile, BOARD_HEIGHT, BOARD_WIDTH, RAW_BOARD};
|
use crate::constants::RAW_BOARD;
|
||||||
use crate::direction::Direction;
|
use crate::direction::Direction;
|
||||||
use crate::entity::{Entity, Renderable};
|
use crate::entity::{Entity, Renderable};
|
||||||
use crate::ghosts::blinky::Blinky;
|
use crate::ghosts::blinky::Blinky;
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ use rand::Rng;
|
|||||||
use crate::animation::{AnimatedAtlasTexture, FrameDrawn};
|
use crate::animation::{AnimatedAtlasTexture, FrameDrawn};
|
||||||
use crate::constants::{MapTile, BOARD_WIDTH};
|
use crate::constants::{MapTile, BOARD_WIDTH};
|
||||||
use crate::direction::Direction;
|
use crate::direction::Direction;
|
||||||
use crate::entity::{Entity, MovableEntity, Moving, Renderable, StaticEntity};
|
use crate::entity::{Entity, MovableEntity, Moving, Renderable};
|
||||||
use crate::map::Map;
|
use crate::map::Map;
|
||||||
use crate::modulation::{SimpleTickModulator, TickModulator};
|
use crate::modulation::{SimpleTickModulator, TickModulator};
|
||||||
use crate::pacman::Pacman;
|
use crate::pacman::Pacman;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ use sdl2::render::{Canvas, Texture};
|
|||||||
use sdl2::video::Window;
|
use sdl2::video::Window;
|
||||||
|
|
||||||
use crate::direction::Direction;
|
use crate::direction::Direction;
|
||||||
use crate::entity::{Entity, MovableEntity, Moving, Renderable, StaticEntity};
|
use crate::entity::{Entity, Moving, Renderable, StaticEntity};
|
||||||
use crate::ghost::{Ghost, GhostMode, GhostType};
|
use crate::ghost::{Ghost, GhostMode, GhostType};
|
||||||
use crate::map::Map;
|
use crate::map::Map;
|
||||||
use crate::pacman::Pacman;
|
use crate::pacman::Pacman;
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ use sdl2::{
|
|||||||
render::{Canvas, Texture},
|
render::{Canvas, Texture},
|
||||||
video::Window,
|
video::Window,
|
||||||
};
|
};
|
||||||
use tracing::event;
|
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
animation::{AnimatedAtlasTexture, FrameDrawn},
|
animation::{AnimatedAtlasTexture, FrameDrawn},
|
||||||
|
|||||||
Reference in New Issue
Block a user