veloren/common/src/comp/agent.rs
timokoesters 0344f3eba8 Implement hit time delay
Former-commit-id: 6c1990645fd07e23de5eb97b6fc22f34ce09a6b7
2019-05-25 23:21:39 +02:00

16 lines
282 B
Rust

use specs::{Component, Entity as EcsEntity, VecStorage};
use vek::*;
#[derive(Copy, Clone, Debug)]
pub enum Agent {
Wanderer(Vec2<f32>),
Pet {
target: EcsEntity,
offset: Vec2<f32>,
},
}
impl Component for Agent {
type Storage = VecStorage<Self>;
}