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 TypeMethodDescriptionvoidexecute(@NotNull SkillContext context, @NotNull Collection<Target> targets) Executes this mechanic on the provided collection of targets.
-
Method Details
-
execute
Executes this mechanic on the provided collection of targets.- Parameters:
context- the context of the skill executiontargets- the targets to execute this action on
-