forked from Jibo-Revival-Group/JiboOs
9 lines
422 B
JavaScript
9 lines
422 B
JavaScript
/**
|
|
* @class Sequence
|
|
* @extends jibo.bt.ParentBehavior
|
|
* @memberof jibo.bt.behaviors
|
|
* @description `Sequence` Runs its child nodes in sequence until one fails. Fails if one of the children fails
|
|
* and succeeds if all its children succeeded.
|
|
* @param {Object} options See {@link jibo.bt.Behavior|Behavior} for all options.
|
|
* @param {Array<jibo.bt.Behavior>} [options.children=[]] - An array of child behaviors.
|
|
*/ |