 | DecoratorAddChild Method |
Adds a child to this group task.
Namespace: Slash.AI.BehaviorTrees.Implementations.DecoratorsAssembly: Slash.AI.BehaviorTrees (in Slash.AI.BehaviorTrees.dll) Version: 1.0.6018.40184
Syntaxpublic void AddChild(
ITask child
)
Public Sub AddChild (
child As ITask
)
public:
virtual void AddChild(
ITask^ child
) sealed
abstract AddChild :
child : ITask -> unit
override AddChild :
child : ITask -> unit
Parameters
- child
- Type: Slash.AI.BehaviorTrees.InterfacesITask
Child to add.
Implements
ICompositeAddChild(ITask)
ExceptionsException | Condition |
---|
Exception | Thrown if child couldn't be added because capacity was reached. |
See Also