Package zombie.ui

Class GenericButton

java.lang.Object
zombie.ui.UIElement
zombie.ui.GenericButton

public final class GenericButton
extends UIElement
  • Field Details

    • clicked

      public boolean clicked
    • MessageTarget

      public UIElement MessageTarget
    • mouseOver

      public boolean mouseOver
    • name

      public java.lang.String name
    • text

      public java.lang.String text
  • Constructor Details

    • GenericButton

      public GenericButton​(UIElement uIElement, float float1, float float2, float float3, float float4, java.lang.String string, java.lang.String string2, Texture texture, Texture texture2)
    • GenericButton

      public GenericButton​(UIEventHandler uIEventHandler, float float1, float float2, float float3, float float4, java.lang.String string, java.lang.String string2, Texture texture, Texture texture2)
  • Method Details

    • onMouseDown

      public java.lang.Boolean onMouseDown​(double double1, double double2)
      Overrides:
      onMouseDown in class UIElement
    • onMouseMove

      public java.lang.Boolean onMouseMove​(double double1, double double2)
      Overrides:
      onMouseMove in class UIElement
    • onMouseMoveOutside

      public void onMouseMoveOutside​(double double1, double double2)
      Overrides:
      onMouseMoveOutside in class UIElement
    • onMouseUp

      public java.lang.Boolean onMouseUp​(double double1, double double2)
      Overrides:
      onMouseUp in class UIElement
    • render

      public void render()
      Overrides:
      render in class UIElement