cz.cuni.amis.pogamut.ut2004.bot.command
Class BotCommands

java.lang.Object
  extended by cz.cuni.amis.pogamut.base.agent.module.AgentModule<AGENT>
      extended by cz.cuni.amis.pogamut.base.agent.module.SensomotoricModule<UT2004Bot>
          extended by cz.cuni.amis.pogamut.ut2004.bot.command.BotCommands
All Implemented Interfaces:
IComponent
Direct Known Subclasses:
Action, Communication, ConfigureCommands, SimpleLocomotion, SimpleRayCasting, SimpleShooting

public abstract class BotCommands
extends SensomotoricModule<UT2004Bot>

Basic abstract class that is the ancestor of classes that provide wrapped UT bot commands.


Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.base.agent.module.SensomotoricModule
act, worldView
 
Fields inherited from class cz.cuni.amis.pogamut.base.agent.module.AgentModule
agent, controller, eventBus, log
 
Constructor Summary
protected BotCommands(UT2004Bot agent)
           
protected BotCommands(UT2004Bot agent, java.util.logging.Logger log)
          Constructor.
 
Method Summary
 
Methods inherited from class cz.cuni.amis.pogamut.base.agent.module.AgentModule
cleanUp, getComponentId, getLog, getState, initComponentId, isRunning, kill, pause, reset, resume, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BotCommands

protected BotCommands(UT2004Bot agent,
                      java.util.logging.Logger log)
Constructor. Setups the command module based on given agent and logger.

Parameters:
agent - AbstractUT2004Bot we will send commands for
log - Logger to be used for logging runtime/debug info.

BotCommands

protected BotCommands(UT2004Bot agent)