Package games.stendhal.server.entity.npc
Class ConversationPhrases
java.lang.Object
games.stendhal.server.entity.npc.ConversationPhrases
Common phrases used by players to interact with a SpeakerNPC.
- Author:
- hendrik
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncombine(Collection<String> list, String... args)
Combine a string collection (list) with additional strings.combine(Collection<String> list1, Collection<String>... lists)
Combine a string collection with other collections.
-
Field Details
-
NO_EXPRESSION
- See Also:
- Constant Field Values
-
EMPTY
-
GREETING_MESSAGES
-
JOB_MESSAGES
-
HELP_MESSAGES
-
QUEST_MESSAGES
-
FINISH_MESSAGES
-
QUEST_FINISH_MESSAGES
-
ABORT_MESSAGES
-
OFFER_MESSAGES
-
YES_MESSAGES
-
NO_MESSAGES
-
GOODBYE_MESSAGES
-
PURCHASE_MESSAGES
-
-
Constructor Details
-
ConversationPhrases
public ConversationPhrases()
-
-
Method Details
-
combine
Combine a string collection (list) with additional strings.- Parameters:
list
- first collection of stringsargs
- 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 collectionlists
- additional collections- Returns:
- a new list with contents of all the collections
-