Interface MenuBackground

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 MenuBackground
Represents a background for a menu.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable Button
    getButton(int slot)
    Gets the background button at the specified slot.
  • Method Details

    • getButton

      @Nullable @Nullable Button getButton(int slot)
      Gets the background button at the specified slot.
      Parameters:
      slot - the slot
      Returns:
      the button