Bukkit/src/main/java/org/bukkit/conversations/StringPrompt.java
2013-08-03 21:46:30 -04:00

18 lines
467 B
Java

package org.bukkit.conversations;
/**
* StringPrompt is the base class for any prompt that accepts an arbitrary string from the user.
*/
public abstract class StringPrompt implements Prompt{
/**
* Ensures that the prompt waits for the user to provide input.
*
* @param context Context information about the conversation.
* @return True.
*/
public boolean blocksForInput(ConversationContext context) {
return true;
}
}