refactor: store common components & bundles in 'common' submodule, move others directly into relevant files, create 'animation' submodule

This commit is contained in:
Ryan Walters
2025-09-08 23:21:58 -05:00
parent 5bdf11dfb6
commit 088c496ad9
20 changed files with 515 additions and 525 deletions
+1 -2
View File
@@ -5,8 +5,7 @@
//! The `GameSprite` enum is the main entry point, and its `to_path` method
//! generates the correct path for a given sprite in the texture atlas.
use crate::map::direction::Direction;
use crate::systems::components::Ghost;
use crate::{map::direction::Direction, systems::Ghost};
/// Represents the different sprites for Pac-Man.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]