Skip to main content

collect_interaction_point

Function collect_interaction_point 

Source
pub fn collect_interaction_point(
    results: ResMut<'_, InteractionPointResults>,
    agents: Query<'_, '_, (&mut AgentState, &mut ContextWindow, &AgentBlueprint, &StageCursor, Option<&InteractionPointCursor>, Option<&InteractionPointRounds>, Option<&mut StageIoBuffer>), With<AwaitingInteractionPoint>>,
    commands: Commands<'_, '_>,
)
Expand description

Collect: apply each resolved interaction-point outcome - approve advances (or transitions when all points are done), abort cancels, a directive injects the directive and re-infers in-stage, an edit injects the edited text and re-presents; both revision paths are bounded by MAX_REVISION_ROUNDS.