mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 10:49:07 +00:00
More overloads and cleanup
This commit is contained in:
1 parent
0e8db79605
commit
67926477be
3 files changed
+21
-8
No files matched your search
@@ -285,6 +285,21 @@ public class ActionManager implements IActionManager {
|
||||
((Action) action).isScheduled = true;
|
||||
return action;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IAction scheduleParallel(Consumer<IAction> task) {
|
||||
return scheduleParallel(create(task));
|
||||
}
|
||||
|
||||
@Override
|
||||
public IAction scheduleParallel(int delay, Consumer<IAction> task) {
|
||||
return scheduleParallel(create(delay, task));
|
||||
}
|
||||
@Override
|
||||
public IAction scheduleParallel(int maxDuration, int delay, Consumer<IAction> task) {
|
||||
return scheduleParallel(create(maxDuration, delay, task));
|
||||
}
|
||||
|
||||
@Override
|
||||
public IAction scheduleParallel(String name, Consumer<IAction> task) {
|
||||
return scheduleParallel(create(name, task));
|
||||
|
||||
Reference in new issue
Block a user