azalea::movement

Function handle_sprint

Source
pub fn handle_sprint(
    query: Query<'_, '_, &mut PhysicsState>,
    events: EventReader<'_, '_, StartSprintEvent>,
)
Expand description

The system that makes the player start sprinting when they receive a StartSprintEvent.