Class ClassRaceInfo
- java.lang.Object
-
- com.realtime.crossfire.jxclient.character.ClassRaceInfo
-
public class ClassRaceInfo extends java.lang.ObjectOne possible class or race for character creation.
-
-
Constructor Summary
Constructors Constructor Description ClassRaceInfo(@NotNull java.lang.String archName, @NotNull java.lang.String name, @NotNull java.lang.String msg, @NotNull java.util.Map<java.lang.Integer,java.lang.Long> stats, @NotNull java.util.Collection<Choice> choices)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull java.lang.StringgetArchName()Returns the archetype name.@NotNull java.util.List<Choice>getChoices()Returns the available choices.@NotNull java.lang.StringgetMsg()Returns the long description.@NotNull java.lang.StringgetName()Returns the human readable race name.longgetStatAdjustment(int statNo)Returns a stat adjustment.@NotNull java.lang.StringtoString()
-
-
-
Constructor Detail
-
ClassRaceInfo
public ClassRaceInfo(@NotNull @NotNull java.lang.String archName, @NotNull @NotNull java.lang.String name, @NotNull @NotNull java.lang.String msg, @NotNull @NotNull java.util.Map<java.lang.Integer,java.lang.Long> stats, @NotNull @NotNull java.util.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 Detail
-
getArchName
@NotNull public @NotNull java.lang.String getArchName()
Returns the archetype name.- Returns:
- the archetype name
-
getName
@NotNull public @NotNull java.lang.String getName()
Returns the human readable race name.- Returns:
- the human readable race name
-
getMsg
@NotNull public @NotNull java.lang.String 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
@NotNull public @NotNull java.util.List<Choice> getChoices()
Returns the available choices.- Returns:
- the available choices
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-