Interface ButtonNode.ClickCallback

Enclosing class:
ButtonNode
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 ButtonNode.ClickCallback
  • Method Summary

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

    • click

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