Crossfire JXClient, Trunk
R20561
|
General information for creating new characters. More...
Public Member Functions | |
int | getMaxValue () |
Returns the maximum stat value. More... | |
int | getMinValue () |
Returns the minimum stat value. More... | |
int | getPoints () |
Returns the number of points the character has to spend. More... | |
List< String > | getStatNames () |
Returns the stat names to spend on. More... | |
boolean | isClassChoice () |
Returns whether a class should be selected. More... | |
boolean | isRaceChoice () |
Returns whether a race should be selected. More... | |
boolean | isStartingMapChoice () |
Returns whether a starting map should be selected. More... | |
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. More... | |
String | toString () |
Private Attributes | |
final boolean | classChoice |
Whether a class should be selected. More... | |
final int | maxValue |
The maximum value for stats. More... | |
final int | minValue |
The minimum value for stats. More... | |
final int | points |
The total number of points the character has to spend. More... | |
final boolean | raceChoice |
Whether a race should be selected. More... | |
final boolean | startingMapChoice |
Whether a starting map should be selected. More... | |
final List< String > | statNames = new ArrayList<>() |
The stat names to set. More... | |
General information for creating new characters.
Definition at line 34 of file NewCharInfo.java.
com.realtime.crossfire.jxclient.character.NewCharInfo.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.
points | the number of points the character has to spend |
minValue | the minimum stat value |
maxValue | the maximum stat value |
statNames | the stat names to spend on |
raceChoice | whether a race should be selected |
classChoice | whether a class should be selected |
startingMapChoice | whether a starting map should be selected |
Definition at line 82 of file NewCharInfo.java.
References com.realtime.crossfire.jxclient.character.NewCharInfo.classChoice, com.realtime.crossfire.jxclient.character.NewCharInfo.maxValue, com.realtime.crossfire.jxclient.character.NewCharInfo.minValue, com.realtime.crossfire.jxclient.character.NewCharInfo.points, com.realtime.crossfire.jxclient.character.NewCharInfo.raceChoice, and com.realtime.crossfire.jxclient.character.NewCharInfo.startingMapChoice.
int com.realtime.crossfire.jxclient.character.NewCharInfo.getMaxValue | ( | ) |
Returns the maximum stat value.
Definition at line 112 of file NewCharInfo.java.
References com.realtime.crossfire.jxclient.character.NewCharInfo.maxValue.
int com.realtime.crossfire.jxclient.character.NewCharInfo.getMinValue | ( | ) |
Returns the minimum stat value.
Definition at line 104 of file NewCharInfo.java.
References com.realtime.crossfire.jxclient.character.NewCharInfo.minValue.
int com.realtime.crossfire.jxclient.character.NewCharInfo.getPoints | ( | ) |
Returns the number of points the character has to spend.
Definition at line 96 of file NewCharInfo.java.
References com.realtime.crossfire.jxclient.character.NewCharInfo.points.
List<String> com.realtime.crossfire.jxclient.character.NewCharInfo.getStatNames | ( | ) |
Returns the stat names to spend on.
Definition at line 121 of file NewCharInfo.java.
boolean com.realtime.crossfire.jxclient.character.NewCharInfo.isClassChoice | ( | ) |
Returns whether a class should be selected.
Definition at line 137 of file NewCharInfo.java.
References com.realtime.crossfire.jxclient.character.NewCharInfo.classChoice.
boolean com.realtime.crossfire.jxclient.character.NewCharInfo.isRaceChoice | ( | ) |
Returns whether a race should be selected.
Definition at line 129 of file NewCharInfo.java.
References com.realtime.crossfire.jxclient.character.NewCharInfo.raceChoice.
boolean com.realtime.crossfire.jxclient.character.NewCharInfo.isStartingMapChoice | ( | ) |
Returns whether a starting map should be selected.
Definition at line 145 of file NewCharInfo.java.
References com.realtime.crossfire.jxclient.character.NewCharInfo.startingMapChoice.
String com.realtime.crossfire.jxclient.character.NewCharInfo.toString | ( | ) |
Definition at line 154 of file NewCharInfo.java.
References com.realtime.crossfire.jxclient.character.NewCharInfo.startingMapChoice.
|
private |
Whether a class should be selected.
Definition at line 65 of file NewCharInfo.java.
Referenced by com.realtime.crossfire.jxclient.character.NewCharInfo.isClassChoice(), and com.realtime.crossfire.jxclient.character.NewCharInfo.NewCharInfo().
|
private |
The maximum value for stats.
Definition at line 49 of file NewCharInfo.java.
Referenced by com.realtime.crossfire.jxclient.character.NewCharInfo.getMaxValue(), and com.realtime.crossfire.jxclient.character.NewCharInfo.NewCharInfo().
|
private |
The minimum value for stats.
Definition at line 44 of file NewCharInfo.java.
Referenced by com.realtime.crossfire.jxclient.character.NewCharInfo.getMinValue(), and com.realtime.crossfire.jxclient.character.NewCharInfo.NewCharInfo().
|
private |
The total number of points the character has to spend.
Definition at line 39 of file NewCharInfo.java.
Referenced by com.realtime.crossfire.jxclient.character.NewCharInfo.getPoints(), and com.realtime.crossfire.jxclient.character.NewCharInfo.NewCharInfo().
|
private |
Whether a race should be selected.
Definition at line 60 of file NewCharInfo.java.
Referenced by com.realtime.crossfire.jxclient.character.NewCharInfo.isRaceChoice(), and com.realtime.crossfire.jxclient.character.NewCharInfo.NewCharInfo().
|
private |
Whether a starting map should be selected.
Definition at line 70 of file NewCharInfo.java.
Referenced by com.realtime.crossfire.jxclient.character.NewCharInfo.isStartingMapChoice(), com.realtime.crossfire.jxclient.character.NewCharInfo.NewCharInfo(), and com.realtime.crossfire.jxclient.character.NewCharInfo.toString().
|
private |
The stat names to set.
Definition at line 55 of file NewCharInfo.java.