refactor: reorganize ecs components

This commit is contained in:
2025-08-15 09:17:43 -05:00
parent 70fb2b9503
commit 242da2e263
12 changed files with 291 additions and 294 deletions

View File

@@ -1,11 +1,11 @@
use std::time::{Duration, Instant};
use glam::Vec2;
use sdl2::render::{Canvas, ScaleMode, Texture, TextureCreator};
use sdl2::render::TextureCreator;
use sdl2::ttf::Sdl2TtfContext;
use sdl2::video::{Window, WindowContext};
use sdl2::video::WindowContext;
use sdl2::{AudioSubsystem, EventPump, Sdl, VideoSubsystem};
use tracing::{error, warn};
use tracing::warn;
use crate::error::{GameError, GameResult};