twcore.core
Class CommandInterpreter

java.lang.Object
  |
  +--twcore.core.CommandInterpreter

public class CommandInterpreter
extends java.lang.Object


Constructor Summary
CommandInterpreter(twcore.core.BotAction botAction)
           
 
Method Summary
 boolean handleEvent(twcore.core.Message event)
           
 void registerCommand(java.lang.String trigger, int messageTypes, java.lang.Object methodClass, java.lang.String methodName)
           
 void registerDefaultCommand(int messageType, java.lang.Object methodClass, java.lang.String methodName)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandInterpreter

public CommandInterpreter(twcore.core.BotAction botAction)
Method Detail

registerCommand

public void registerCommand(java.lang.String trigger,
                            int messageTypes,
                            java.lang.Object methodClass,
                            java.lang.String methodName)

registerDefaultCommand

public void registerDefaultCommand(int messageType,
                                   java.lang.Object methodClass,
                                   java.lang.String methodName)

handleEvent

public boolean handleEvent(twcore.core.Message event)