Class GaugeUpdaterParser


  • public class GaugeUpdaterParser
    extends java.lang.Object
    Creates GaugeUpdater instances from string representations.
    • Constructor Detail

      • 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 Detail

      • parseGaugeUpdater

        @NotNull
        public @NotNull GaugeUpdater parseGaugeUpdater​(@NotNull
                                                       @NotNull java.lang.String name,
                                                       @NotNull
                                                       @NotNull ExperienceTable experienceTable)
                                                throws java.io.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:
        java.io.IOException - if the gauge updater value does not exist