Interface GuiStateElement.State.Change

Enclosing class:
GuiStateElement.State

public static interface GuiStateElement.State.Change
Define what should happen when the state of the element' state changes to this state
  • Method Summary

    Modifier and Type Method Description
    void onChange​(GuiElement.Click click)
    What should happen when the element's state changes to this state
  • Method Details

    • onChange

      void onChange​(GuiElement.Click click)
      What should happen when the element's state changes to this state
      Parameters:
      click - The click that triggered this change