Class Choice
- java.lang.Object
-
- com.realtime.crossfire.jxclient.character.Choice
-
public class Choice extends java.lang.ObjectA choice for character creation.
-
-
Constructor Summary
Constructors Constructor Description Choice(@NotNull java.lang.String choiceName, @NotNull java.lang.String choiceDescription, @NotNull java.util.Map<java.lang.String,java.lang.String> choices)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull java.lang.StringgetChoiceDescription()Returns the human readable choice name.@NotNull java.lang.StringgetChoiceName()Returns the choice identification.@NotNull java.util.Map<java.lang.String,java.lang.String>getChoices()Returns the choices.@NotNull java.lang.StringtoString()
-
-
-
Constructor Detail
-
Choice
public Choice(@NotNull @NotNull java.lang.String choiceName, @NotNull @NotNull java.lang.String choiceDescription, @NotNull @NotNull java.util.Map<java.lang.String,java.lang.String> choices)Creates a new instance.- Parameters:
choiceName- identifies the choicechoiceDescription- the human readable choice namechoices- the choices
-
-
Method Detail
-
getChoiceName
@NotNull public @NotNull java.lang.String getChoiceName()
Returns the choice identification.- Returns:
- the choice identification
-
getChoiceDescription
@NotNull public @NotNull java.lang.String getChoiceDescription()
Returns the human readable choice name.- Returns:
- the human readable choice name
-
getChoices
@NotNull public @NotNull java.util.Map<java.lang.String,java.lang.String> getChoices()
Returns the choices.- Returns:
- the choices
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-