public class ClassRaceInfo
extends java.lang.Object
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
@NotNull java.lang.String |
getArchName()
Returns the archetype name.
|
@NotNull java.util.List<Choice> |
getChoices()
Returns the available choices.
|
@NotNull java.lang.String |
getMsg()
Returns the long description.
|
@NotNull java.lang.String |
getName()
Returns the human-readable race name.
|
long |
getStatAdjustment(int statNo)
Returns a stat adjustment.
|
@NotNull java.lang.String |
toString() |
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)
archName
- the archetype namename
- the human-readable race namemsg
- the long descriptionstats
- the stat adjustmentschoices
- the available choices@NotNull public @NotNull java.lang.String getArchName()
@NotNull public @NotNull java.lang.String getName()
@NotNull public @NotNull java.lang.String getMsg()
public long getStatAdjustment(int statNo)
statNo
- the stat number@NotNull public @NotNull java.util.List<Choice> getChoices()
@NotNull public @NotNull java.lang.String toString()
toString
in class java.lang.Object