/** * @class Switch * @extends jibo.bt.ParentBehavior * @memberof jibo.bt.behaviors * @description Runs its child nodes in sequence until one succeeds. Fails if all of the children failed * and succeeds if one child succeeded. * @param {Object} options See {@link jibo.bt.Behavior|Behavior} for all options. * @param {Array} [options.children=[]] - An array of the Switch's child behaviors. */