public class NewCharInfo
extends java.lang.Object
Constructor and Description |
---|
NewCharInfo(int points,
int minValue,
int maxValue,
@NotNull java.util.Collection<java.lang.String> statNames,
boolean raceChoice,
boolean classChoice,
boolean startingMapChoice)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
int |
getMaxValue()
Returns the maximum stat value.
|
int |
getMinValue()
Returns the minimum stat value.
|
int |
getPoints()
Returns the number of points the character has to spend.
|
@NotNull java.util.List<java.lang.String> |
getStatNames()
Returns the stat names to spend on.
|
boolean |
isClassChoice()
Returns whether a class should be selected.
|
boolean |
isRaceChoice()
Returns whether a race should be selected.
|
boolean |
isStartingMapChoice()
Returns whether a starting map should be selected.
|
@NotNull java.lang.String |
toString() |
public NewCharInfo(int points, int minValue, int maxValue, @NotNull @NotNull java.util.Collection<java.lang.String> statNames, boolean raceChoice, boolean classChoice, boolean startingMapChoice)
points
- the number of points the character has to spendminValue
- the minimum stat valuemaxValue
- the maximum stat valuestatNames
- the stat names to spend onraceChoice
- whether a race should be selectedclassChoice
- whether a class should be selectedstartingMapChoice
- whether a starting map should be selectedpublic int getPoints()
public int getMinValue()
public int getMaxValue()
@NotNull public @NotNull java.util.List<java.lang.String> getStatNames()
public boolean isRaceChoice()
public boolean isClassChoice()
public boolean isStartingMapChoice()
@NotNull public @NotNull java.lang.String toString()
toString
in class java.lang.Object