Class GuiAnimatedButton

java.lang.Object
com.github.darksoulq.abyssallib.world.gui.element.GuiAnimatedItem
com.github.darksoulq.ner.gui.element.GuiAnimatedButton
All Implemented Interfaces:
com.github.darksoulq.abyssallib.world.gui.GuiElement

public class GuiAnimatedButton extends com.github.darksoulq.abyssallib.world.gui.element.GuiAnimatedItem
  • Constructor Summary

    Constructors
    Constructor
    Description
    GuiAnimatedButton(List<org.bukkit.inventory.ItemStack> frames, int interval, Consumer<com.github.darksoulq.abyssallib.server.event.context.gui.GuiClickContext> action)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.github.darksoulq.abyssallib.server.event.ActionResult
    onClick(com.github.darksoulq.abyssallib.server.event.context.gui.GuiClickContext ctx)
     

    Methods inherited from class com.github.darksoulq.abyssallib.world.gui.element.GuiAnimatedItem

    of, of, of, onDrag, render

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.github.darksoulq.abyssallib.world.gui.GuiElement

    onClick, onDrag
  • Constructor Details

    • GuiAnimatedButton

      public GuiAnimatedButton(List<org.bukkit.inventory.ItemStack> frames, int interval, Consumer<com.github.darksoulq.abyssallib.server.event.context.gui.GuiClickContext> action)
  • Method Details

    • onClick

      public com.github.darksoulq.abyssallib.server.event.ActionResult onClick(com.github.darksoulq.abyssallib.server.event.context.gui.GuiClickContext ctx)
      Specified by:
      onClick in interface com.github.darksoulq.abyssallib.world.gui.GuiElement
      Overrides:
      onClick in class com.github.darksoulq.abyssallib.world.gui.element.GuiAnimatedItem