mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-20 15:49:43 +00:00
ActionManager name
This commit is contained in:
1 parent
5cb5e3da85
commit
e6d4e1f3fd
4 files changed
+22
No files matched your search
@@ -23,6 +23,7 @@ import java.util.function.Function;
|
||||
*/
|
||||
public class ActionManager implements IActionManager {
|
||||
protected boolean isWorking = false;
|
||||
protected String name = "";
|
||||
|
||||
protected final ActionQueue sequentialQueue = new ActionQueue(this, "mainSequential");
|
||||
protected final ActionQueue parallelQueue = new ActionQueue(this, "mainParallel", true);
|
||||
@@ -45,6 +46,18 @@ public class ActionManager implements IActionManager {
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IActionManager setName(String name) {
|
||||
this.name = name;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean inDebugMode() {
|
||||
return debug;
|
||||
|
||||
Reference in new issue
Block a user