Class BehaviorTree<T>
A behavior that runs through execution of a list of children.
Inheritance
System.Object
BehaviorTree<T>
Assembly: Eco.Simulation.dll
Syntax
public abstract class BehaviorTree<T> : GenericBehavior<T> where T : IBehaviorControlled
Type Parameters
Constructors
BehaviorTree(String, IEnumerable<Behavior<T>>)
Declaration
public BehaviorTree(string name, IEnumerable<Behavior<T>> children)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Collections.Generic.IEnumerable<Behavior<T>> |
children |
|
Properties
ChildrenBehaviors
Declaration
public override IEnumerable<Behavior<T>> ChildrenBehaviors { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<Behavior<T>> |
|
Overrides
Eco.Simulation.Agents.AI.Behavior<T>.ChildrenBehaviors