Interface Mechanic

All Known Subinterfaces:
Metaskill
All Known Implementing Classes:
DelayMechanic

public interface Mechanic
Represents a single gameplay action or effect performed on targets.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(@NotNull SkillContext context, @NotNull Collection<Target> targets)
    Executes this mechanic on the provided collection of targets.
  • Method Details

    • execute

      void execute(@NotNull @NotNull SkillContext context, @NotNull @NotNull Collection<Target> targets)
      Executes this mechanic on the provided collection of targets.
      Parameters:
      context - the context of the skill execution
      targets - the targets to execute this action on