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