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

Trait Implementations

impl Clone for EventRepel
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for EventRepel
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for EventRepel

impl Sync for EventRepel