Class ChatLineParser

java.lang.Object
games.stendhal.client.scripting.ChatLineParser

public abstract class ChatLineParser extends Object
Parses the input in the chat box and invokes the appropriate action.
  • Constructor Details

    • ChatLineParser

      public ChatLineParser()
  • Method Details

    • parseAndHandle

      public static boolean parseAndHandle(String input)
      parses a chat/command line and processes the result.
      Parameters:
      input - string to handle
      Returns:
      true if command was valid enough to process, false otherwise.