G
- the game object type of the objectA
- the map arch object type of the objectR
- the archetype type of the objectpublic class ReplyValidator<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
extends java.lang.Object
Constructor and Description |
---|
ReplyValidator()
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
match()
Processes a @match line.
|
void |
reply(@NotNull ErrorGenerator<G,A,R> generator)
Processes a qreply or @question line.
|
void |
reset()
Resets the checker state.
|
void |
text(@NotNull ErrorGenerator<G,A,R> generator)
Processes a line of text.
|
public void reset()
public void text(@NotNull @NotNull ErrorGenerator<G,A,R> generator)
generator
- the generator for error messagespublic void match()
public void reply(@NotNull @NotNull ErrorGenerator<G,A,R> generator)
generator
- the generator for error messages