use serde::{Deserialize, Serialize};
use specs::{Component, HashMapStorage};

#[derive(Clone, Debug, Serialize, Deserialize)]
pub struct Asteroid {
    pub type_: Type,
}

#[derive(Clone, Debug, Serialize, Deserialize)]
pub enum Type {
    Metal,
    Crystal,
}

impl Component for Asteroid {
    type Storage = HashMapStorage<Self>;
}
