Crossfire JXClient, Trunk
|
Public Member Functions | |
int | getMaxValue () |
int | getMinValue () |
int | getPoints () |
List< String > | getStatNames () |
boolean | isClassChoice () |
boolean | isRaceChoice () |
boolean | isStartingMapChoice () |
NewCharInfo (final int points, final int minValue, final int maxValue, @NotNull final Collection< String > statNames, final boolean raceChoice, final boolean classChoice, final boolean startingMapChoice) | |
String | toString () |
Private Attributes | |
final boolean | classChoice |
final int | maxValue |
final int | minValue |
final int | points |
final boolean | raceChoice |
final boolean | startingMapChoice |
final List< String > | statNames = new ArrayList<>() |
General information for creating new characters.
Definition at line 35 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 83 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, com.realtime.crossfire.jxclient.character.NewCharInfo.startingMapChoice, and com.realtime.crossfire.jxclient.character.NewCharInfo.statNames.
int com.realtime.crossfire.jxclient.character.NewCharInfo.getMaxValue | ( | ) |
Returns the maximum stat value.
Definition at line 113 of file NewCharInfo.java.
References com.realtime.crossfire.jxclient.character.NewCharInfo.maxValue.
Referenced by com.realtime.crossfire.jxclient.gui.misc.GUISpinner.activeChanged(), com.realtime.crossfire.jxclient.gui.misc.GUISpinner.GUISpinner(), com.realtime.crossfire.jxclient.gui.misc.GUISpinner.keyPressed(), and com.realtime.crossfire.jxclient.gui.misc.GUISpinner.notifyOpen().
int com.realtime.crossfire.jxclient.character.NewCharInfo.getMinValue | ( | ) |
Returns the minimum stat value.
Definition at line 105 of file NewCharInfo.java.
References com.realtime.crossfire.jxclient.character.NewCharInfo.minValue.
Referenced by com.realtime.crossfire.jxclient.gui.misc.GUISpinner.activeChanged(), com.realtime.crossfire.jxclient.gui.misc.GUISpinner.GUISpinner(), com.realtime.crossfire.jxclient.gui.misc.GUISpinner.keyPressed(), and com.realtime.crossfire.jxclient.gui.misc.GUISpinner.notifyOpen().
int com.realtime.crossfire.jxclient.character.NewCharInfo.getPoints | ( | ) |
Returns the number of points the character has to spend.
Definition at line 97 of file NewCharInfo.java.
References com.realtime.crossfire.jxclient.character.NewCharInfo.points.
Referenced by com.realtime.crossfire.jxclient.gui.label.NewCharModel.getUnusedPoints().
List<String> com.realtime.crossfire.jxclient.character.NewCharInfo.getStatNames | ( | ) |
Returns the stat names to spend on.
Definition at line 122 of file NewCharInfo.java.
References com.realtime.crossfire.jxclient.character.NewCharInfo.statNames.
boolean com.realtime.crossfire.jxclient.character.NewCharInfo.isClassChoice | ( | ) |
Returns whether a class should be selected.
Definition at line 138 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 130 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 146 of file NewCharInfo.java.
References com.realtime.crossfire.jxclient.character.NewCharInfo.startingMapChoice.
String com.realtime.crossfire.jxclient.character.NewCharInfo.toString | ( | ) |
Definition at line 152 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, com.realtime.crossfire.jxclient.character.NewCharInfo.startingMapChoice, and com.realtime.crossfire.jxclient.character.NewCharInfo.statNames.
|
private |
Whether a class should be selected.
Definition at line 66 of file NewCharInfo.java.
Referenced by com.realtime.crossfire.jxclient.character.NewCharInfo.isClassChoice(), com.realtime.crossfire.jxclient.character.NewCharInfo.NewCharInfo(), and com.realtime.crossfire.jxclient.character.NewCharInfo.toString().
|
private |
The maximum value for stats.
Definition at line 50 of file NewCharInfo.java.
Referenced by com.realtime.crossfire.jxclient.character.NewCharInfo.getMaxValue(), com.realtime.crossfire.jxclient.character.NewCharInfo.NewCharInfo(), and com.realtime.crossfire.jxclient.character.NewCharInfo.toString().
|
private |
The minimum value for stats.
Definition at line 45 of file NewCharInfo.java.
Referenced by com.realtime.crossfire.jxclient.character.NewCharInfo.getMinValue(), com.realtime.crossfire.jxclient.character.NewCharInfo.NewCharInfo(), and com.realtime.crossfire.jxclient.character.NewCharInfo.toString().
|
private |
The total number of points the character has to spend.
Definition at line 40 of file NewCharInfo.java.
Referenced by com.realtime.crossfire.jxclient.character.NewCharInfo.getPoints(), com.realtime.crossfire.jxclient.character.NewCharInfo.NewCharInfo(), and com.realtime.crossfire.jxclient.character.NewCharInfo.toString().
|
private |
Whether a race should be selected.
Definition at line 61 of file NewCharInfo.java.
Referenced by com.realtime.crossfire.jxclient.character.NewCharInfo.isRaceChoice(), com.realtime.crossfire.jxclient.character.NewCharInfo.NewCharInfo(), and com.realtime.crossfire.jxclient.character.NewCharInfo.toString().
|
private |
Whether a starting map should be selected.
Definition at line 71 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 56 of file NewCharInfo.java.
Referenced by com.realtime.crossfire.jxclient.character.NewCharInfo.getStatNames(), com.realtime.crossfire.jxclient.character.NewCharInfo.NewCharInfo(), and com.realtime.crossfire.jxclient.character.NewCharInfo.toString().