com.realtime.crossfire.jxclient.scripts
Class StatUtils

java.lang.Object
  extended by com.realtime.crossfire.jxclient.scripts.StatUtils

public class StatUtils
extends java.lang.Object

Utility class for converting stat values to stat names.


Field Summary
private static java.util.Map<java.lang.Integer,java.lang.String> STAT_NAMES
          The stat names: maps stat value to stat name.
 
Constructor Summary
private StatUtils()
          Private constructor to prevent instantiation.
 
Method Summary
static java.lang.String getStatNames(int stat)
          Returns the stat name for a stat value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STAT_NAMES

@NotNull
private static final java.util.Map<java.lang.Integer,java.lang.String> STAT_NAMES
The stat names: maps stat value to stat name.

Constructor Detail

StatUtils

private StatUtils()
Private constructor to prevent instantiation.

Method Detail

getStatNames

@NotNull
public static java.lang.String getStatNames(int stat)
Returns the stat name for a stat value.

Parameters:
stat - the stat value
Returns:
the stat name