 |
Crossfire JXClient, Trunk
|
Go to the documentation of this file.
23 package com.realtime.crossfire.jxclient.skin.io;
35 import java.io.IOException;
36 import org.jetbrains.annotations.NotNull;
85 }
catch (
final IllegalArgumentException ignored) {
89 if (name.startsWith(
"SKILL_")) {
93 if (name.startsWith(
"ACTIVE_SKILL_")) {
97 if (name.equals(
"ACTIVE_SKILL")) {
101 throw new IOException(
"invalid stat name: "+name);
Model class maintaining the CfItems known to the player.
final ItemSet itemSet
The ItemSet to use.
final Stats stats
The Stats instance to use.
Updates the displayed values in a GUIGauge.
A GaugeUpdater which monitors the active skill.
A GaugeUpdater which monitors a stat value.
Creates GaugeUpdater instances from string representations.
Utility class to parse stat names.
A GaugeUpdater which monitors a skill.
A GaugeUpdater which monitors a stat value.
This is the representation of all the statistics of a player, like its speed or its experience.
GaugeUpdater parseGaugeUpdater(@NotNull final String name, @NotNull final ExperienceTable experienceTable)
Parses a gauge updater value.
static int parseStat(@NotNull final String name)
Converts a stat name into a stat index.
Stores experience <-> level mappings.
final SkillSet skillSet
The SkillSet for looking up skill names.
Maintain the set of skills as sent by the server.
Skill getNamedSkill(@NotNull final String skillName, final int face)
Returns the skill instance for a given skill name.
GaugeUpdaterParser(@NotNull final Stats stats, @NotNull final ItemSet itemSet, @NotNull final SkillSet skillSet)
Creates a new instance.