Class: BehaviorTree::Decorators::ForceFailure
- Inherits:
-
DecoratorBase
- Object
- NodeBase
- SingleChildNodeBase
- DecoratorBase
- BehaviorTree::Decorators::ForceFailure
- Defined in:
- lib/behavior_tree/decorator_nodes/force_failure.rb
Overview
Returns always failure when the child is not running.
Instance Method Summary collapse
Methods inherited from DecoratorBase
#ensure_after_tick, #halt!, #on_tick
Methods included from TreeStructure::Algorithms
#cycle?, #each_node, #repeated_nodes, #uniq_nodes?
Instance Method Details
#display_name ⇒ Object
7 8 9 |
# File 'lib/behavior_tree/decorator_nodes/force_failure.rb', line 7 def display_name 'forcefailure' end |