modules.states
Class TalkativeStateManager

java.lang.Object
  extended bymodules.EmptyModule
      extended bymodules.states.TemplateStateModule
          extended bymodules.states.TalkativeStateManager

public class TalkativeStateManager
extends TemplateStateModule


Field Summary
 
Fields inherited from class modules.states.TemplateStateModule
ATTACK_ALL, ATTACK_BOT, DEFAULT_MODE, DEFEND_BOT
 
Fields inherited from class modules.EmptyModule
DO_NOTHING
 
Constructor Summary
TalkativeStateManager(TemplateBot owner, BotInfoMap bots)
          Default constructor for TalkativeStateManager
 
Method Summary
 void move()
          Action to execute during robot turn
 void setRequest(java.lang.String request)
           
 
Methods inherited from class modules.EmptyModule
getState, getTarget, onBulletHit, onBulletHitBullet, onBulletMissed, onCustomEvent, onDeath, onHitByBullet, onHitRobot, onHitWall, onMessageReceived, onRobotDeath, onScannedRobot, onSkippedTurn, onWin, setState, setTarget, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TalkativeStateManager

public TalkativeStateManager(TemplateBot owner,
                             BotInfoMap bots)
Default constructor for TalkativeStateManager

Parameters:
owner - Bot which owns this module
bots - BotInfoMap which has all information recorded by bot
Method Detail

setRequest

public void setRequest(java.lang.String request)
Parameters:
request - The request to set.

move

public void move()
Description copied from class: EmptyModule
Action to execute during robot turn

Specified by:
move in class TemplateStateModule