Class: BehaviorTree::Decorators::ForceSuccess

Inherits:
DecoratorBase
  • Object
show all
Defined in:
lib/behavior_tree/decorator_nodes/force_success.rb

Overview

Returns always success 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_nameObject



7
8
9
# File 'lib/behavior_tree/decorator_nodes/force_success.rb', line 7

def display_name
  'forcesuccess'
end