java.lang.Object
com.realtime.crossfire.jxclient.character.Choice

public class Choice extends Object
A choice for character creation.
  • 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

      @NotNull public @NotNull Map<String,String> getChoices()
      Returns the choices.
      Returns:
      the choices
    • toString

      @NotNull public @NotNull String toString()
      Overrides:
      toString in class Object