use crate::types::_animation::Animation;
use pico_ecs::_component::Component;
use pico_rendering::types::_sprite::Sprite;

pub struct Animator {
    pub current_animation: usize,
    pub current_frame_index: usize,
    pub animations: &'static [Animation],
    pub frames: &'static [Sprite],
    pub frame_timer: u32,
}

impl Component for Animator {}
