use bevy::prelude::*; #[derive(Component, Deref, DerefMut)] pub struct AnimationTimer(pub Timer); pub fn animate_sprite( time: Res