Class GaugeUpdaterParser

java.lang.Object
com.realtime.crossfire.jxclient.skin.io.GaugeUpdaterParser

public class GaugeUpdaterParser extends Object
Creates GaugeUpdater instances from string representations.
  • Constructor Details

    • GaugeUpdaterParser

      public GaugeUpdaterParser(@NotNull @NotNull Stats stats, @NotNull @NotNull ItemSet itemSet, @NotNull @NotNull SkillSet skillSet)
      Creates a new instance.
      Parameters:
      stats - the stats instance to use
      itemSet - the item set to use
      skillSet - the skill set for looking up skill names
  • Method Details

    • parseGaugeUpdater

      @NotNull public @NotNull GaugeUpdater parseGaugeUpdater(@NotNull @NotNull String name, @NotNull @NotNull ExperienceTable experienceTable) throws IOException
      Parses a gauge updater value.
      Parameters:
      name - the gauge updater value to parse
      experienceTable - the experience table to query
      Returns:
      the gauge updater
      Throws:
      IOException - if the gauge updater value does not exist