From 7744c06046b5a1a0ca5d40b1c7acafc0d7fb5cfc Mon Sep 17 00:00:00 2001 From: Xevion Date: Wed, 23 Jul 2025 17:27:22 -0500 Subject: [PATCH] chore: cargo fix --- src/debug.rs | 1 - src/game.rs | 3 +-- src/ghost.rs | 2 +- src/ghosts/blinky.rs | 2 +- src/pacman.rs | 1 - 5 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/debug.rs b/src/debug.rs index b29d219..f3816f2 100644 --- a/src/debug.rs +++ b/src/debug.rs @@ -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, }; diff --git a/src/game.rs b/src/game.rs index a317c35..5d1f58a 100644 --- a/src/game.rs +++ b/src/game.rs @@ -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; diff --git a/src/ghost.rs b/src/ghost.rs index 036dce1..405d69c 100644 --- a/src/ghost.rs +++ b/src/ghost.rs @@ -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; diff --git a/src/ghosts/blinky.rs b/src/ghosts/blinky.rs index 90f6435..9bdd218 100644 --- a/src/ghosts/blinky.rs +++ b/src/ghosts/blinky.rs @@ -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; diff --git a/src/pacman.rs b/src/pacman.rs index 40ba68f..824fa50 100644 --- a/src/pacman.rs +++ b/src/pacman.rs @@ -6,7 +6,6 @@ use sdl2::{ render::{Canvas, Texture}, video::Window, }; -use tracing::event; use crate::{ animation::{AnimatedAtlasTexture, FrameDrawn},