Package zombie.ui

Class ObjectTooltip

java.lang.Object
zombie.ui.UIElement
zombie.ui.ObjectTooltip

public final class ObjectTooltip extends UIElement
  • Field Details

    • alphaStep

      public static float alphaStep
    • bIsItem

      public boolean bIsItem
    • Item

      public InventoryItem Item
    • Object

      public IsoObject Object
    • padRight

      public int padRight
    • padBottom

      public int padBottom
  • Constructor Details

    • ObjectTooltip

      public ObjectTooltip()
  • Method Details

    • checkFont

      public static void checkFont()
    • getFont

      public UIFont getFont()
    • getLineSpacing

      public int getLineSpacing()
    • DrawText

      public void DrawText(UIFont font, String text, double x, double y, double r, double g, double b, double alpha)
      Overrides:
      DrawText in class UIElement
    • DrawTextCentre

      public void DrawTextCentre(UIFont font, String text, double x, double y, double r, double g, double b, double alpha)
      Overrides:
      DrawTextCentre in class UIElement
    • DrawTextRight

      public void DrawTextRight(UIFont font, String text, double x, double y, double r, double g, double b, double alpha)
      Overrides:
      DrawTextRight in class UIElement
    • DrawValueRight

      public void DrawValueRight(int value, int x, int y, boolean highGood)
    • DrawValueRightNoPlus

      public void DrawValueRightNoPlus(int value, int x, int y)
    • DrawValueRightNoPlus

      public void DrawValueRightNoPlus(float value, int x, int y)
    • DrawTextureScaled

      public void DrawTextureScaled(Texture tex, double x, double y, double width, double height, double alpha)
      Overrides:
      DrawTextureScaled in class UIElement
    • DrawTextureScaledAspect

      public void DrawTextureScaledAspect(Texture tex, double x, double y, double width, double height, double r, double g, double b, double alpha)
      Overrides:
      DrawTextureScaledAspect in class UIElement
    • DrawProgressBar

      public void DrawProgressBar(int x, int y, int w, int h, float f, double r, double g, double b, double a)
    • onMouseMove

      public Boolean onMouseMove(double dx, double dy)
      Overrides:
      onMouseMove in class UIElement
    • onMouseMoveOutside

      public void onMouseMoveOutside(double dx, double dy)
      Overrides:
      onMouseMoveOutside in class UIElement
    • render

      public void render()
      Overrides:
      render in class UIElement
    • show

      public void show(IsoObject obj, double x, double y)
    • hide

      public void hide()
    • update

      public void update()
      Overrides:
      update in class UIElement
    • adjustWidth

      public void adjustWidth(int textX, String text)
    • beginLayout

      public ObjectTooltip.Layout beginLayout()
    • endLayout

      public void endLayout(ObjectTooltip.Layout layout)
    • getTexture

      public Texture getTexture()
    • setCharacter

      public void setCharacter(IsoGameCharacter chr)
    • getCharacter

      public IsoGameCharacter getCharacter()
    • setMeasureOnly

      public void setMeasureOnly(boolean b)
    • isMeasureOnly

      public boolean isMeasureOnly()
    • getWeightOfStack

      public float getWeightOfStack()
    • setWeightOfStack

      public void setWeightOfStack(float weight)