initial commit

This commit is contained in:
2026-03-16 13:53:01 +02:00
parent 631dc7df36
commit 81e6e0a7a2
23381 changed files with 8224173 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
/**
* @callback jibo.bt.decorators.WhileCondition~Conditional
* @returns {boolean} `true` when you want component to restart.
*/
/**
* @class WhileCondition
* @extends jibo.bt.Decorator
* @memberof jibo.bt.decorators
* @description When `WhileCondition`'s component succeeds, `WhileCondition`
* will evaluate its conditional. If it evaluates to `true`, `WhileCondition` will
* start its component again. If the conditional evaluates to `false`, `WhileCondition`
* returns the status of its component.
* @param {Object} options See {@link jibo.bt.Decorator|Decorator} for all options.
* @param {Function} [options.init] - Initialization function.
* @param {jibo.bt.decorators.WhileCondition~Conditional} options.conditional - The conditional to evaluate.
*/