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
ConstructorsConstructorDescriptionGuiAnimatedButton(List<org.bukkit.inventory.ItemStack> frames, int interval, Consumer<com.github.darksoulq.abyssallib.server.event.context.gui.GuiClickContext> action) -
Method Summary
Modifier and TypeMethodDescriptioncom.github.darksoulq.abyssallib.server.event.ActionResultonClick(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, renderMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.darksoulq.abyssallib.world.gui.GuiElement
onClick, onDrag
-
Constructor Details
-
GuiAnimatedButton
-
-
Method Details
-
onClick
public com.github.darksoulq.abyssallib.server.event.ActionResult onClick(com.github.darksoulq.abyssallib.server.event.context.gui.GuiClickContext ctx) - Specified by:
onClickin interfacecom.github.darksoulq.abyssallib.world.gui.GuiElement- Overrides:
onClickin classcom.github.darksoulq.abyssallib.world.gui.element.GuiAnimatedItem
-