Function leaf

Source
pub fn leaf<B>(
    behavior: B,
    tree: &mut BehaviorTree<B>,
) -> Handle<BehaviorNode<B>>
where B: Clone + 'static,
Expand description

Creates a new leaf.