Class ClassRaceInfo
java.lang.Object
com.realtime.crossfire.jxclient.character.ClassRaceInfo
One possible class or race for character creation.
-
Constructor Summary
ConstructorsConstructorDescriptionClassRaceInfo(@NotNull String archName, @NotNull String name, @NotNull String msg, @NotNull Map<Integer, Long> stats, @NotNull Collection<Choice> choices) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescription@NotNull StringReturns the archetype name.Returns the available choices.@NotNull StringgetMsg()Returns the long description.@NotNull StringgetName()Returns the human-readable race name.longgetStatAdjustment(int statNo) Returns a stat adjustment.@NotNull StringtoString()
-
Constructor Details
-
ClassRaceInfo
public ClassRaceInfo(@NotNull @NotNull String archName, @NotNull @NotNull String name, @NotNull @NotNull String msg, @NotNull @NotNull Map<Integer, Long> stats, @NotNull @NotNull Collection<Choice> choices) Creates a new instance.- Parameters:
archName- the archetype namename- the human-readable race namemsg- the long descriptionstats- the stat adjustmentschoices- the available choices
-
-
Method Details
-
getArchName
Returns the archetype name.- Returns:
- the archetype name
-
getName
Returns the human-readable race name.- Returns:
- the human-readable race name
-
getMsg
Returns the long description.- Returns:
- the long description
-
getStatAdjustment
public long getStatAdjustment(int statNo) Returns a stat adjustment.- Parameters:
statNo- the stat number- Returns:
- the adjustment
-
getChoices
Returns the available choices.- Returns:
- the available choices
-
toString
-