public static class EffectorTasks.EffectorBodyTaskFactory<T> extends java.lang.Object implements EffectorTasks.EffectorTaskFactory<T>
EffectorBody
which simply runs that body on each invocation;
the body must be thread safe and ideally statelessConstructor and Description |
---|
EffectorBodyTaskFactory(EffectorBody<T> effectorBody) |
Modifier and Type | Method and Description |
---|---|
Task<T> |
newTask(Entity entity,
Effector<T> effector,
ConfigBag parameters) |