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