bot.ps
Class DancerBotA

java.lang.Object
  extended bybot.Bot
      extended bybot.ps.DancerBotA
Direct Known Subclasses:
DancerBotB

public class DancerBotA
extends Bot

Solves the Magic maze.


Field Summary
 
Fields inherited from class bot.Bot
board
 
Constructor Summary
DancerBotA()
           
 
Method Summary
 void compute()
          This is what the system runs so the bot can run around the maze.
 void step()
          ACTION: Take a single step in the current direction.
 
Methods inherited from class bot.Bot
drop, feel, feelKey, feelPit, feelWall, getBoard, getBotBoard, getHeading, getInformer, getInput, getInputCharacter, getIntFromHuman, getLocation, getStringFromHuman, grab, left, place, rest, right, say, say, say, say, say, setAppearance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DancerBotA

public DancerBotA()
Method Detail

step

public void step()
Description copied from class: Bot
ACTION: Take a single step in the current direction.

Overrides:
step in class Bot

compute

public void compute()
Description copied from class: Bot
This is what the system runs so the bot can run around the maze.

All bots need to implement this method so they can do stuff.

Specified by:
compute in class Bot