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

View File

@@ -1,9 +1,5 @@
use bevy_ecs::{entity::Entity, system::RunSystemOnce, world::World};
use pacman::systems::{
blinking::{blinking_system, Blinking},
components::{DeltaTime, Renderable},
Frozen, Hidden,
};
use pacman::systems::{blinking_system, Blinking, DeltaTime, Frozen, Hidden, Renderable};
use speculoos::prelude::*;
mod common;

View File

@@ -2,7 +2,7 @@
use pacman::{
game::ATLAS_FRAMES,
map::direction::Direction,
systems::components::Ghost,
systems::Ghost,
texture::sprites::{FrightenedColor, GameSprite, GhostSprite, MazeSprite, PacmanSprite},
};