Interface ButtonData.ClickCallback

Enclosing class:
ButtonData
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 static interface ButtonData.ClickCallback
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    void
    click(Entity entity)
    Triggered whenever the button is clicked.
  • Method Details Link icon

    • click Link icon

      void click(Entity entity)
      Triggered whenever the button is clicked.
      Parameters:
      entity - Button entity