time_runner_system

Function time_runner_system 

Source
pub fn time_runner_system(
    commands: Commands<'_, '_>,
    q_runner: Query<'_, '_, (Entity, &mut TimeRunner, Option<&Children>), Without<SkipTimeRunner>>,
    q_span: Query<'_, '_, (Entity, Option<&mut TimeSpanProgress>, &TimeSpan)>,
    q_added_skip: Query<'_, '_, (Entity, &TimeRunner, Option<&Children>), Added<SkipTimeRunner>>,
    runner_just_completed: Local<'_, Vec<Entity>>,
)
Expand description

System for updating any TimeSpan with the correct TimeSpanProgress by their runner