mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-12 18:12:22 -06:00
refactor: unify ghost state management and animation handling, use integers for texture animation
This commit is contained in:
@@ -97,7 +97,7 @@ pub enum TextureError {
|
||||
#[derive(thiserror::Error, Debug)]
|
||||
pub enum AnimatedTextureError {
|
||||
#[error("Frame duration must be positive, got {0}")]
|
||||
InvalidFrameDuration(f32),
|
||||
InvalidFrameDuration(u16),
|
||||
}
|
||||
|
||||
/// Errors related to entity operations.
|
||||
|
||||
Reference in New Issue
Block a user