mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 16:04:44 +00:00
ActionQueue.stopWhenEmpty
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user