Struct airmash_protocol::server::PlayerFireProjectile[][src]

pub struct PlayerFireProjectile {
    pub id: Mob,
    pub ty: MobType,
    pub pos: Position,
    pub speed: Velocity,
    pub accel: Accel,
    pub max_speed: Speed,
}

Data on a projectile fired by a plane.

This is used in the projectiles array of the PlayerFire packet.

Fields

Trait Implementations

impl Copy for PlayerFireProjectile
[src]

impl Clone for PlayerFireProjectile
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PlayerFireProjectile
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations