Class Menu<T extends MenuItem>

java.lang.Object
com.guflimc.brick.gui.api.menu.Menu<T>
Direct Known Subclasses:
SpigotHotbar, SpigotMenu

public class Menu<T extends MenuItem> extends Object
  • Field Details

    • items

      protected final T extends MenuItem[] items
  • Constructor Details

    • Menu

      public Menu(Class<T> clazz, int size)
  • Method Details

    • size

      public final int size()
    • removeItem

      public void removeItem(int index)
    • setItem

      public void setItem(int index, T item)