Package games.stendhal.client.scripting
Class ChatLineParser
java.lang.Object
games.stendhal.client.scripting.ChatLineParser
Parses the input in the chat box and invokes the appropriate action.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanparseAndHandle(String input) parses a chat/command line and processes the result.
-
Constructor Details
-
ChatLineParser
public ChatLineParser()
-
-
Method Details
-
parseAndHandle
parses a chat/command line and processes the result.- Parameters:
input- string to handle- Returns:
trueif command was valid enough to process,falseotherwise.
-