mirror of
https://kevinblog.sytes.net/Code/Jibo-Revival-Group/JiboOs.git
synced 2026-06-15 09:36:28 +00:00
10 lines
532 B
JavaScript
10 lines
532 B
JavaScript
/**
|
|
* @class Parallel
|
|
* @extends jibo.bt.ParentBehavior
|
|
* @memberof jibo.bt.behaviors
|
|
* @description Runs its child nodes in parallel. Returns with `Status.FAILED` if one of the children failed
|
|
* and `Status.SUCCEEDED` if all children succeeded.
|
|
* @param {Object} options See {@link jibo.bt.Behavior} for all options.
|
|
* @param {boolean} options.succeedOnOne If the Parallel should succeed when the first child succeeds.
|
|
* @param {Array<jibo.bt.Behavior>} [options.children=[]] An array of the Parallel's child behaviors.
|
|
*/ |