Interface SkillExecutor


public interface SkillExecutor
Handles executing a sequence of mechanics on targets within a SkillContext.
  • 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 execution
      initialTargets - the initial targets for the execution
      mechanics - the collection of mechanics to run