Uses of Class
games.stendhal.server.entity.npc.ConversationBuilder
Packages that use ConversationBuilder
-
Uses of ConversationBuilder in games.stendhal.server.entity.npc
Methods in games.stendhal.server.entity.npc that return ConversationBuilderModifier and TypeMethodDescriptionstatic ConversationBuilderConversationBuilder.actor(SpeakerNPC npc) Creates a ConversationBuilder for the specified npc.ConversationBuilder.changingStateTo(ConversationStates endState) Specify the final state of the npc after the conversation.ConversationBuilder.doing(ChatAction... actions) Specify additional actions for the conversation.ConversationBuilder.inState(ConversationStates state) Specifies an initial state of the NPC for which the conversation is used.ConversationBuilder.inStates(ConversationStates[] states) Specifies multiple initial states of the NPC for which the conversation is used.ConversationBuilder.respondsTo(String trigger) Add a trigger word to which the NPC responds to.ConversationBuilder.respondsTo(Collection<String> triggers) Add multiple trigger words to which the NPC responds to.Specify a verbal reply for the npc.ConversationBuilder.when(ConditionBuilder condition) Specify conditions for the conversation.Methods in games.stendhal.server.entity.npc with parameters of type ConversationBuilderModifier and TypeMethodDescriptionstatic voidConversationBuilder.conversation(ConversationBuilder builder) Generates the conversation for the npc.