public class Choice
extends Object
A choice for character creation.
-
Constructor Summary
Constructors
-
Method Summary
Returns the human-readable choice name.
Returns the choice identification.
-
Constructor Details
-
Choice
public Choice(@NotNull
@NotNull String choiceName,
@NotNull
@NotNull String choiceDescription,
@NotNull
@NotNull Map<String,String> choices)
Creates a new instance.
- Parameters:
choiceName - identifies the choice
choiceDescription - the human-readable choice name
choices - the choices
-
Method Details
-
getChoiceName
@NotNull
public @NotNull String getChoiceName()
Returns the choice identification.
- Returns:
- the choice identification
-
getChoiceDescription
@NotNull
public @NotNull String getChoiceDescription()
Returns the human-readable choice name.
- Returns:
- the human-readable choice name
-
getChoices
Returns the choices.
- Returns:
- the choices
-