 |
Crossfire JXClient, Trunk
|
Go to the documentation of this file.
23 package com.realtime.crossfire.jxclient.character;
25 import java.util.ArrayList;
26 import java.util.Collection;
27 import java.util.Collections;
28 import java.util.List;
29 import org.jetbrains.annotations.NotNull;
56 private final List<String>
statNames =
new ArrayList<>();
123 return Collections.unmodifiableList(
statNames);
int getPoints()
Returns the number of points the character has to spend.
int getMinValue()
Returns the minimum stat value.
final boolean raceChoice
Whether a race should be selected.
final List< String > statNames
The stat names to set.
General information for creating new characters.
final int maxValue
The maximum value for stats.
boolean isClassChoice()
Returns whether a class should be selected.
NewCharInfo(final int points, final int minValue, final int maxValue, @NotNull final Collection< String > statNames, final boolean raceChoice, final boolean classChoice, final boolean startingMapChoice)
Creates a new instance.
final boolean classChoice
Whether a class should be selected.
List< String > getStatNames()
Returns the stat names to spend on.
int getMaxValue()
Returns the maximum stat value.
boolean isStartingMapChoice()
Returns whether a starting map should be selected.
final int minValue
The minimum value for stats.
final boolean startingMapChoice
Whether a starting map should be selected.
final int points
The total number of points the character has to spend.
boolean isRaceChoice()
Returns whether a race should be selected.