Crossfire JXClient, Trunk
R20561
|
One possible class or race for character creation. More...
Public Member Functions | |
ClassRaceInfo (@NotNull final String archName, @NotNull final String name, @NotNull final String msg, @NotNull final Map< Integer, Long > stats, @NotNull final Collection< Choice > choices) | |
Creates a new instance. More... | |
String | getArchName () |
Returns the archetype name. More... | |
List< Choice > | getChoices () |
Returns the available choices. More... | |
String | getMsg () |
Returns the long description. More... | |
String | getName () |
Returns the human readable race name. More... | |
long | getStatAdjustment (final int statNo) |
Returns a stat adjustment. More... | |
String | toString () |
Private Attributes | |
final String | archName |
The archetype name. More... | |
final List< Choice > | choices = new ArrayList<>() |
The available choices. More... | |
final String | msg |
The long description. More... | |
final String | name |
The human readable race name. More... | |
final Map< Integer, Long > | stats = new HashMap<>() |
The stat adjustments. More... | |
One possible class or race for character creation.
Definition at line 36 of file ClassRaceInfo.java.
com.realtime.crossfire.jxclient.character.ClassRaceInfo.ClassRaceInfo | ( | @NotNull final String | archName, |
@NotNull final String | name, | ||
@NotNull final String | msg, | ||
@NotNull final Map< Integer, Long > | stats, | ||
@NotNull final Collection< Choice > | choices | ||
) |
Creates a new instance.
archName | the archetype name |
name | the human readable race name |
msg | the long description |
stats | the stat adjustments |
choices | the available choices |
Definition at line 76 of file ClassRaceInfo.java.
References com.realtime.crossfire.jxclient.character.ClassRaceInfo.archName, com.realtime.crossfire.jxclient.character.ClassRaceInfo.msg, and com.realtime.crossfire.jxclient.character.ClassRaceInfo.name.
String com.realtime.crossfire.jxclient.character.ClassRaceInfo.getArchName | ( | ) |
Returns the archetype name.
Definition at line 89 of file ClassRaceInfo.java.
References com.realtime.crossfire.jxclient.character.ClassRaceInfo.archName.
List<Choice> com.realtime.crossfire.jxclient.character.ClassRaceInfo.getChoices | ( | ) |
Returns the available choices.
Definition at line 129 of file ClassRaceInfo.java.
String com.realtime.crossfire.jxclient.character.ClassRaceInfo.getMsg | ( | ) |
Returns the long description.
Definition at line 107 of file ClassRaceInfo.java.
References com.realtime.crossfire.jxclient.character.ClassRaceInfo.msg.
Referenced by com.realtime.crossfire.jxclient.gui.combobox.GUIClassesComboBox.getDescription(), and com.realtime.crossfire.jxclient.gui.combobox.GUIRacesComboBox.getDescription().
String com.realtime.crossfire.jxclient.character.ClassRaceInfo.getName | ( | ) |
Returns the human readable race name.
Definition at line 98 of file ClassRaceInfo.java.
References com.realtime.crossfire.jxclient.character.ClassRaceInfo.name.
Referenced by com.realtime.crossfire.jxclient.gui.combobox.GUIClassesComboBox.getListCellRendererComponent(), and com.realtime.crossfire.jxclient.gui.combobox.GUIRacesComboBox.getListCellRendererComponent().
long com.realtime.crossfire.jxclient.character.ClassRaceInfo.getStatAdjustment | ( | final int | statNo | ) |
Returns a stat adjustment.
statNo | the stat number |
Definition at line 116 of file ClassRaceInfo.java.
String com.realtime.crossfire.jxclient.character.ClassRaceInfo.toString | ( | ) |
Definition at line 138 of file ClassRaceInfo.java.
References com.realtime.crossfire.jxclient.character.ClassRaceInfo.choices.
|
private |
The archetype name.
Definition at line 42 of file ClassRaceInfo.java.
Referenced by com.realtime.crossfire.jxclient.character.ClassRaceInfo.ClassRaceInfo(), and com.realtime.crossfire.jxclient.character.ClassRaceInfo.getArchName().
|
private |
The available choices.
Definition at line 60 of file ClassRaceInfo.java.
Referenced by com.realtime.crossfire.jxclient.character.ClassRaceInfo.toString().
|
private |
The long description.
Definition at line 54 of file ClassRaceInfo.java.
Referenced by com.realtime.crossfire.jxclient.character.ClassRaceInfo.ClassRaceInfo(), and com.realtime.crossfire.jxclient.character.ClassRaceInfo.getMsg().
|
private |
The human readable race name.
Definition at line 48 of file ClassRaceInfo.java.
Referenced by com.realtime.crossfire.jxclient.character.ClassRaceInfo.ClassRaceInfo(), and com.realtime.crossfire.jxclient.character.ClassRaceInfo.getName().
|
private |
The stat adjustments.
Maps stat number to adjustment.
Definition at line 66 of file ClassRaceInfo.java.