bot.ps
Class CollectorBot

java.lang.Object
  extended bybot.Bot
      extended bybot.ps.CollectorBot

public class CollectorBot
extends Bot

Solves the LitteredMaze.


Field Summary
 
Fields inherited from class bot.Bot
board
 
Constructor Summary
CollectorBot()
           
 
Method Summary
 void compute()
          This is what the system runs so the bot can run around the maze.
 void findThing()
           
 
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, step
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectorBot

public CollectorBot()
Method Detail

findThing

public void findThing()

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