Struct airmash_protocol::server::EventRepel
[−]
[src]
pub struct EventRepel { pub clock: u32, pub id: u16, pub pos_x: f32, pub pos_y: f32, pub rot: f32, pub speed_x: f32, pub speed_y: f32, pub energy: f32, pub energy_regen: f32, pub players: Vec<EventRepelPlayer>, pub mobs: Vec<EventRepelMobs>, }
Event triggered when something (players or projectiles) is deflected by a goliath repel.
Fields
clock: u32
id: u16
pos_x: f32
pos_y: f32
rot: f32
speed_x: f32
speed_y: f32
energy: f32
energy_regen: f32
players: Vec<EventRepelPlayer>
mobs: Vec<EventRepelMobs>
Trait Implementations
impl Clone for EventRepel
[src]
fn clone(&self) -> EventRepel
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more