use glc::vector::Vector2f;
use serde::{Deserialize, Serialize};
use specs::{Component, VecStorage};

#[derive(Clone, Debug, Default, Serialize, Deserialize)]
pub struct Velocity {
    pub dir: Vector2f,
    pub speed: f32,
}

impl Component for Velocity {
    type Storage = VecStorage<Self>;
}
