Interface SkillExecutor
public interface SkillExecutor
Handles executing a sequence of mechanics on targets within a SkillContext.
-
Method Summary
Modifier and TypeMethodDescriptionvoidrun(@NotNull SkillContext context, @NotNull Collection<Target> initialTargets, @NotNull Collection<MechanicWrapper> mechanics) Executes the list of mechanics sequentially.
-
Method Details
-
run
void run(@NotNull @NotNull SkillContext context, @NotNull @NotNull Collection<Target> initialTargets, @NotNull @NotNull Collection<MechanicWrapper> mechanics) Executes the list of mechanics sequentially.- Parameters:
context- the context of the skill executioninitialTargets- the initial targets for the executionmechanics- the collection of mechanics to run
-