refactor!: begin switching to bevy ECS, all tests broken, all systems broken

This commit is contained in:
2025-08-14 15:06:56 -05:00
parent 2f1ff85d8f
commit bc759f1ed4
23 changed files with 2373 additions and 1414 deletions

View File

@@ -5,11 +5,13 @@
use std::io;
use bevy_ecs::event::Event;
/// Main error type for the Pac-Man game.
///
/// This is the primary error type that should be used in public APIs.
/// It can represent any error that can occur during game operation.
#[derive(thiserror::Error, Debug)]
#[derive(thiserror::Error, Debug, Event)]
pub enum GameError {
#[error("Asset error: {0}")]
Asset(#[from] AssetError),