intrinsic.solutions.behavior_tree.Condition
![]() View source on GitHub |
Parent abstract base class for supported behavior tree conditions.
Attributes | |
|---|---|
The proto representation of the node. | |
A string label of the condition type. | |
Methods
create_from_proto
View source
@classmethodcreate_from_proto( proto_object: behavior_tree_pb2.BehaviorTree.Condition ) -> 'Condition'
Instantiates a Condition instance from a proto.
visit
View source
visit(
containing_tree: 'BehaviorTree',
callback: Callable[['BehaviorTree', Union['BehaviorTree', 'Node', 'Condition']], None]
) -> None