接口 Prompt

所有超级接口:
Cloneable
所有已知实现类:
BooleanPrompt, FixedSetPrompt, MessagePrompt, NumericPrompt, PlayerNamePrompt, RegexPrompt, StringPrompt, ValidatingPrompt

public interface Prompt extends Cloneable
A Prompt is the main constituent of a Conversation. Each prompt displays text to the user and optionally waits for a user's response. Prompts are chained together into a directed graph that represents the conversation flow. To halt a conversation, END_OF_CONVERSATION is returned in liu of another Prompt object.
  • 字段详细资料

    • END_OF_CONVERSATION

      static final Prompt END_OF_CONVERSATION
      A convenience constant for indicating the end of a conversation.
  • 方法详细资料