Skip to main content

resolve_targets_into

Function resolve_targets_into 

Source
pub(crate) fn resolve_targets_into(
    program: &CombatProgram,
    state: &CombatInstance,
    source: ActorId,
    shape: &ResolvedTargetShape,
    filter: &CandidateFilter,
    line_of_sight: LineOfSightPolicy,
    now: SimTime,
    workspace: &mut TargetWorkspace,
) -> Result<(), TargetShapeError>
Expand description

Resolve a combat target shape into its deterministic hit order.

ยงErrors

Returns [TargetShapeError] when the shape, anchor, source, or spatial query is invalid.