public BehaviourTreeParallelBuilder <TBlackboard, TBuilderMethodResult> Parallel(string name,
                                                                                         ParallelPolicy failurePolicy = ParallelPolicy.RequireOne,
                                                                                         ParallelPolicy succeedPolicy = ParallelPolicy.RequireAll)
        {
            var node = new ParallelNode <TBlackboard>(name)
            {
                FailurePolicy = failurePolicy,
                SucceedPolicy = succeedPolicy
            };

            AcceptNode(node);
            return(new BehaviourTreeParallelBuilder <TBlackboard, TBuilderMethodResult>(GetBuilderMethodResult(), node));
        }
        public SimpleBehaviourTreeBuilder <TBlackboard> Parallel(string name,
                                                                 ParallelPolicy failurePolicy = ParallelPolicy.RequireOne,
                                                                 ParallelPolicy succeedPolicy = ParallelPolicy.RequireAll)
        {
            var node = new ParallelNode <TBlackboard>(name)
            {
                FailurePolicy = failurePolicy,
                SucceedPolicy = succeedPolicy
            };

            AcceptNode(node);
            return(new SimpleBehaviourTreeBuilder <TBlackboard>(this, _node));
        }