public abstract class RegexPrompt extends ValidatingPrompt
END_OF_CONVERSATION| コンストラクタと説明 |
|---|
RegexPrompt(Pattern pattern) |
RegexPrompt(String regex) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected boolean |
isInputValid(ConversationContext context,
String input)
Override this method to check the validity of the player's input.
|
acceptInput, acceptValidatedInput, blocksForInput, getFailedValidationTextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPromptTextpublic RegexPrompt(String regex)
public RegexPrompt(Pattern pattern)
protected boolean isInputValid(ConversationContext context, String input)
ValidatingPromptisInputValid クラス内 ValidatingPromptcontext - Context information about the conversation.input - The player's raw console input.Copyright © 2016. All rights reserved.