Crossfire JXClient, Trunk
Public Member Functions | Private Attributes | List of all members
com.realtime.crossfire.jxclient.skin.io.GaugeUpdaterParser Class Reference
Collaboration diagram for com.realtime.crossfire.jxclient.skin.io.GaugeUpdaterParser:
Collaboration graph

Public Member Functions

 GaugeUpdaterParser (@NotNull final Stats stats, @NotNull final ItemSet itemSet, @NotNull final SkillSet skillSet)
 
GaugeUpdater parseGaugeUpdater (@NotNull final String name, @NotNull final ExperienceTable experienceTable) throws IOException
 

Private Attributes

final ItemSet itemSet
 
final SkillSet skillSet
 
final Stats stats
 

Detailed Description

Creates GaugeUpdater instances from string representations.

Author
Andreas Kirschbaum

Definition at line 42 of file GaugeUpdaterParser.java.

Constructor & Destructor Documentation

◆ GaugeUpdaterParser()

com.realtime.crossfire.jxclient.skin.io.GaugeUpdaterParser.GaugeUpdaterParser ( @NotNull final Stats  stats,
@NotNull final ItemSet  itemSet,
@NotNull final SkillSet  skillSet 
)

Creates a new instance.

Parameters
statsthe stats instance to use
itemSetthe item set to use
skillSetthe skill set for looking up skill names

Definition at line 68 of file GaugeUpdaterParser.java.

References com.realtime.crossfire.jxclient.skin.io.GaugeUpdaterParser.itemSet, com.realtime.crossfire.jxclient.skin.io.GaugeUpdaterParser.skillSet, and com.realtime.crossfire.jxclient.skin.io.GaugeUpdaterParser.stats.

Member Function Documentation

◆ parseGaugeUpdater()

GaugeUpdater com.realtime.crossfire.jxclient.skin.io.GaugeUpdaterParser.parseGaugeUpdater ( @NotNull final String  name,
@NotNull final ExperienceTable  experienceTable 
) throws IOException

Parses a gauge updater value.

Parameters
namethe gauge updater value to parse
experienceTablethe experience table to query
Returns
the gauge updater
Exceptions
IOExceptionif the gauge updater value does not exist

Definition at line 82 of file GaugeUpdaterParser.java.

References com.realtime.crossfire.jxclient.skills.SkillSet.getNamedSkill(), com.realtime.crossfire.jxclient.skin.io.GaugeUpdaterParser.itemSet, com.realtime.crossfire.jxclient.stats.StatsParser.parseStat(), com.realtime.crossfire.jxclient.skin.io.GaugeUpdaterParser.skillSet, and com.realtime.crossfire.jxclient.skin.io.GaugeUpdaterParser.stats.

Referenced by com.realtime.crossfire.jxclient.skin.io.JXCSkinLoader.newGaugeUpdater().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ itemSet

final ItemSet com.realtime.crossfire.jxclient.skin.io.GaugeUpdaterParser.itemSet
private

◆ skillSet

final SkillSet com.realtime.crossfire.jxclient.skin.io.GaugeUpdaterParser.skillSet
private

◆ stats

final Stats com.realtime.crossfire.jxclient.skin.io.GaugeUpdaterParser.stats
private

The documentation for this class was generated from the following file: