Type Alias veloren_server::sys::agent::behavior_tree::BehaviorFn
source · type BehaviorFn = fn(_: &mut BehaviorData<'_, '_, '_>) -> bool;
Expand description
Behavior function Determines if the current situation can be handled and act accordingly Returns true if an action has been taken, stopping the tree execution