- All Known Subinterfaces:
PolledScriptEvent
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ScriptEvent
-
Method Summary
Modifier and Type Method Description voidact(MoeScript script)default booleanisSingleUse()
-
Method Details
-
act
-
isSingleUse
default boolean isSingleUse()- Returns:
- if this event should be removed after firing
-