bot
Class HumanBot

java.lang.Object
  extended bybot.Bot
      extended bybot.HumanBot

public class HumanBot
extends Bot

Bot that accepts human input. The possabilities are [S]tep [T]urn [Q]uit [G]rab [F]eel and [B]low up. If in make mode: [P]lace (a [B]ook or [K]ey).


Field Summary
 
Fields inherited from class bot.Bot
board
 
Constructor Summary
HumanBot()
           
HumanBot(boolean power)
           
 
Method Summary
 void compute()
          This is what the system runs so the bot can run around the maze.
 void display(String s)
           
 String getCommand()
          Read a line of text from the user.
 void installAction()
           
 void placeAction()
           
 void printMenu()
           
 boolean runCommand(char c)
           
 
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

HumanBot

public HumanBot()

HumanBot

public HumanBot(boolean power)
Method Detail

compute

public void compute()
This is what the system runs so the bot can run around the maze.

Specified by:
compute in class Bot

getCommand

public String getCommand()
Read a line of text from the user.


runCommand

public boolean runCommand(char c)
Returns:
true if quit was selected.

placeAction

public void placeAction()

installAction

public void installAction()

display

public void display(String s)

printMenu

public void printMenu()