Function veloren_server::sys::agent::behavior_tree::do_target_tree_if_target_else_do_idle_tree
source · fn do_target_tree_if_target_else_do_idle_tree(
bdata: &mut BehaviorData<'_, '_, '_>
) -> bool
Expand description
If the agent has a target, do the target tree, else do the idle tree
This function will never stop the BehaviorTree