veloren_common/comp/teleport.rs
1use specs::{Component, DerefFlaggedStorage, Entity};
2
3use crate::resources::Time;
4
5#[derive(Copy, Clone, Debug, PartialEq)]
6pub struct Teleporting {
7 pub portal: Entity,
8 pub end_time: Time,
9}
10
11impl Component for Teleporting {
12 type Storage = DerefFlaggedStorage<Self, specs::VecStorage<Self>>;
13}