mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-13 18:12:24 -06:00
refactor!: begin switching to bevy ECS, all tests broken, all systems broken
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user