a buncha IAction adjustments

This commit is contained in:
bigguy345 committed 2025-07-05 10:19:10 +03:00
1 parent e5c347e0a4
commit 14f7bd3dd4
4 files changed
+34 -1

No files matched your search

@@ -6,10 +6,25 @@ public interface IActionChain {
String getName();
/**
* @param name of chain
* @return
*/
IActionChain setName(String name);
/**
*
* @return queue this chain is scheduled on
*/
IActionQueue getQueue();
/**
*
* @param delay ticks between an IAction and another
* @param name name of IAction
* @param task task of IAction
* @return
*/
IActionChain after(int delay, String name, Consumer<IAction> task);
IActionChain after(int delay, Consumer<IAction> task);