Interface ScriptEvent

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
    void act​(MoeScript script)  
    default boolean isSingleUse()  
  • Method Details

    • act

      void act​(MoeScript script)
    • isSingleUse

      default boolean isSingleUse()
      Returns:
      if this event should be removed after firing