refactor: split up and move texture-related code into src/texture submodule

This commit is contained in:
2025-07-24 12:41:36 -05:00
parent cfa73c58a8
commit 002da46045
9 changed files with 158 additions and 141 deletions

View File

@@ -15,7 +15,6 @@ use sdl2::ttf::Font;
use sdl2::video::WindowContext;
use sdl2::{pixels::Color, render::Canvas, video::Window};
use crate::animation::AtlasTexture;
use crate::asset::{get_asset_bytes, Asset};
use crate::audio::Audio;
use crate::constants::RAW_BOARD;
@@ -26,6 +25,7 @@ use crate::entity::blinky::Blinky;
use crate::entity::pacman::Pacman;
use crate::entity::Renderable;
use crate::map::Map;
use crate::texture::atlas::AtlasTexture;
/// The main game state.
///