ecspresso
    Preparing search index...

    Interface ParallelNode<BB>

    Parallel composite — ticks all children each frame. Configurable success/failure thresholds.

    Limitation (v1): only one running leaf is tracked for abort. Other running children in a parallel stop being ticked if the tree path diverges but do not receive an onAbort call.

    interface ParallelNode<BB extends object = Record<string, unknown>> {
        children: readonly BehaviorTreeNode<BB>[];
        failureThreshold: number;
        nodeIndex: number;
        successThreshold: number;
        type: "parallel";
    }

    Type Parameters

    • BB extends object = Record<string, unknown>
    Index

    Properties

    children: readonly BehaviorTreeNode<BB>[]
    failureThreshold: number
    nodeIndex: number
    successThreshold: number
    type: "parallel"