public class ClassRaceInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
archName
The archetype name.
|
private java.util.List<Choice> |
choices
The available choices.
|
private java.lang.String |
msg
The long description.
|
private java.lang.String |
name
The human readable race name.
|
private java.util.Map<java.lang.Integer,java.lang.Long> |
stats
The stat adjustments.
|
Constructor and Description |
---|
ClassRaceInfo(java.lang.String archName,
java.lang.String name,
java.lang.String msg,
java.util.Map<java.lang.Integer,java.lang.Long> stats,
java.util.Collection<Choice> choices)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getArchName()
Returns the archetype name.
|
java.util.List<Choice> |
getChoices()
Returns the available choices.
|
java.lang.String |
getMsg()
Returns the long description.
|
java.lang.String |
getName()
Returns the human readable race name.
|
long |
getStatAdjustment(int statNo)
Returns a stat adjustment.
|
java.lang.String |
toString() |
@NotNull private final java.lang.String archName
@NotNull private final java.util.List<Choice> choices
@NotNull private final java.lang.String msg
@NotNull private final java.lang.String name
@NotNull private final java.util.Map<java.lang.Integer,java.lang.Long> stats
public 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)
archName
- the archetype namename
- the human readable race namemsg
- the long descriptionstats
- the stat adjustmentschoices
- the available choices@NotNull public java.lang.String getArchName()
@NotNull public java.util.List<Choice> getChoices()
@NotNull public java.lang.String getMsg()
@NotNull public java.lang.String getName()
public long getStatAdjustment(int statNo)
statNo
- the stat number@NotNull public java.lang.String toString()
toString
in class java.lang.Object