Class ConversationPhrases

java.lang.Object
games.stendhal.server.entity.npc.ConversationPhrases

public class ConversationPhrases extends Object
Common phrases used by players to interact with a SpeakerNPC.
Author:
hendrik
  • Field Details

    • NO_EXPRESSION

      public static final String NO_EXPRESSION
      See Also:
      Constant Field Values
    • EMPTY

      public static final List<String> EMPTY
    • GREETING_MESSAGES

      public static final List<String> GREETING_MESSAGES
    • JOB_MESSAGES

      public static final List<String> JOB_MESSAGES
    • HELP_MESSAGES

      public static final List<String> HELP_MESSAGES
    • QUEST_MESSAGES

      public static final List<String> QUEST_MESSAGES
    • FINISH_MESSAGES

      public static final List<String> FINISH_MESSAGES
    • QUEST_FINISH_MESSAGES

      public static final List<String> QUEST_FINISH_MESSAGES
    • ABORT_MESSAGES

      public static final List<String> ABORT_MESSAGES
    • OFFER_MESSAGES

      public static final List<String> OFFER_MESSAGES
    • YES_MESSAGES

      public static final List<String> YES_MESSAGES
    • NO_MESSAGES

      public static final List<String> NO_MESSAGES
    • GOODBYE_MESSAGES

      public static final List<String> GOODBYE_MESSAGES
    • PURCHASE_MESSAGES

      public static final List<String> PURCHASE_MESSAGES
  • Constructor Details

    • ConversationPhrases

      public ConversationPhrases()
  • Method Details

    • combine

      public static final List<String> combine(Collection<String> list, String... args)
      Combine a string collection (list) with additional strings.
      Parameters:
      list - first collection of strings
      args - additional strings
      Returns:
      new list with the contents of the list and all the additional strings
    • combine

      @SafeVarargs public static final List<String> combine(Collection<String> list1, Collection<String>... lists)
      Combine a string collection with other collections.
      Parameters:
      list1 - first collection
      lists - additional collections
      Returns:
      a new list with contents of all the collections