Class GUILabelStats2

All Implemented Interfaces:
GUIElement, ImageObserver, MenuContainer, Serializable

public class GUILabelStats2 extends GUIOneLineLabel
A GUILabel that displays a value of the last received "stats" command.
See Also:
  • Constructor Details

    • GUILabelStats2

      public GUILabelStats2(@NotNull @NotNull TooltipManager tooltipManager, @NotNull @NotNull GUIElementListener elementListener, @NotNull @NotNull String name, @NotNull @NotNull Font font, @NotNull @NotNull Color colorNormal, @NotNull @NotNull Color colorUpgradable, @NotNull @NotNull Color colorDepleted, @NotNull @NotNull Color colorBoosted, @NotNull @NotNull Color colorBoostedUpgradable, @Nullable @Nullable Color backgroundColor, int statCurrent, int statBase, int statRace, int statApplied, @NotNull @NotNull Alignment alignment, @NotNull @NotNull Stats stats, @NotNull @NotNull GuiFactory guiFactory)
      Creates a new instance.
      Parameters:
      tooltipManager - the tooltip manager to update
      elementListener - the element listener to notify
      name - the name of this element
      font - the font to use
      colorNormal - the normal color
      colorUpgradable - the color for upgradable stats
      colorDepleted - the color for depleted stats
      colorBoosted - the color for boosted stats
      colorBoostedUpgradable - the color for boosted and upgradable stats
      backgroundColor - the background color
      statCurrent - the current stat to display
      statBase - the base stat without applied boosts or depletions
      statRace - the race's maximum stat
      statApplied - the stat change due to gear or skills
      alignment - the text alignment
      stats - the stats instance to use
      guiFactory - the global GUI factory instance
  • Method Details