summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit/conversations/StringPrompt.java
blob: d297835bf6f47843c7fca4d9fc0dd78e1aa14ab6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;
    }
}