Crossfire JXClient, Trunk  R20561
com.realtime.crossfire.jxclient.scripts.StatUtils Class Reference

Utility class for converting stat values to stat names. More...

+ Collaboration diagram for com.realtime.crossfire.jxclient.scripts.StatUtils:

Static Public Member Functions

static String getStatNames (final int stat)
 Returns the stat name for a stat value. More...
 

Private Member Functions

 StatUtils ()
 Private constructor to prevent instantiation. More...
 

Static Private Attributes

static final Map< Integer, String > STAT_NAMES = new HashMap<>()
 The stat names: maps stat value to stat name. More...
 

Detailed Description

Utility class for converting stat values to stat names.

Author
Andreas Kirschbaum

Definition at line 33 of file StatUtils.java.

Constructor & Destructor Documentation

◆ StatUtils()

com.realtime.crossfire.jxclient.scripts.StatUtils.StatUtils ( )
private

Private constructor to prevent instantiation.

Definition at line 106 of file StatUtils.java.

Member Function Documentation

◆ getStatNames()

static String com.realtime.crossfire.jxclient.scripts.StatUtils.getStatNames ( final int  stat)
static

Returns the stat name for a stat value.

Parameters
statthe stat value
Returns
the stat name

Definition at line 115 of file StatUtils.java.

Member Data Documentation

◆ STAT_NAMES

final Map<Integer, String> com.realtime.crossfire.jxclient.scripts.StatUtils.STAT_NAMES = new HashMap<>()
staticprivate

The stat names: maps stat value to stat name.

Definition at line 39 of file StatUtils.java.


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