ActionQueue.stopWhenEmpty

This commit is contained in:
bigguy345 committed 2025-07-08 14:22:47 +03:00
1 parent d866913213
commit be190c563b
1 file changed
+13
@@ -40,6 +40,19 @@ public interface IActionQueue {
*/
IActionQueue setParallel(boolean parallel);
/**
*
* @return If true, auto-stops queue when empty/no active Actions scheduled using {{@link #stop()}}
*/
boolean isStoppedWhenEmpty();
/**
*
* @param stopWhenEmpty to auto-stop queue when empty/no active Actions scheduled using {{@link #stop()}}
* @return
*/
IActionQueue stopWhenEmpty(boolean stopWhenEmpty);
/**
* @return True to auto-remove this queue from the IActionManager when no IActions are scheduled or queue is empty
* Default: true