Enum veloren_common::event::LocalEvent
source · pub enum LocalEvent {
Jump(Entity, f32),
ApplyImpulse {
entity: Entity,
impulse: Vec3<f32>,
},
Boost {
entity: Entity,
vel: Vec3<f32>,
},
CreateOutcome(Outcome),
}
Variants§
Jump(Entity, f32)
Applies upward force to entity’s Vel
ApplyImpulse
Applies the impulse
to entity
’s Vel
Boost
Applies vel
velocity to entity
CreateOutcome(Outcome)
Creates an outcome
Auto Trait Implementations§
impl RefUnwindSafe for LocalEvent
impl Send for LocalEvent
impl Sync for LocalEvent
impl Unpin for LocalEvent
impl UnwindSafe for LocalEvent
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more