|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Field Summary | |
static int |
CHAR_BY_CHAR_INPUT
|
static int |
STRING_INPUT
|
| Method Summary | |
void |
alert(String s)
Big, important message (alarms, bot died, etc.) |
void |
beginSimulation(boolean pause)
Call when simulation starts. |
void |
endAction()
|
void |
endGame(boolean won)
|
void |
feel()
Bot Action |
int |
getCurrentTime()
|
String |
getInput()
|
Runner |
getRunner()
Get the runner using this informer. |
void |
grab()
Bot Action |
void |
inform(String s)
A message of something that transpired (for example, used object.) |
void |
land()
Called when bot is dropped--begins a run |
void |
pausing(boolean is_on,
String why)
|
void |
place()
Bot Action |
void |
redraw()
|
void |
relocate(Point from,
Point to)
Bot Action - when Bot changes position. |
void |
reset(BotBoard botboard)
|
void |
rest()
Bot Action |
void |
say(String s)
Bot Action--it says something |
void |
selectBoard()
|
void |
selectBot()
Inform user that they must select a bot, and then have them select it. |
void |
setAppearance(String toWhat)
This changes what the bot looks like/is described as. |
void |
setBoard(Board board)
|
void |
setInputMode(int mode)
|
void |
touch(Point where)
Bot Action Call to say the given point has been modified. |
void |
turn(int new_direction)
Bot Action |
void |
waitForReset()
|
| Field Detail |
public static final int CHAR_BY_CHAR_INPUT
public static final int STRING_INPUT
| Method Detail |
public void land()
public void relocate(Point from,
Point to)
public void touch(Point where)
public void rest()
public void setAppearance(String toWhat)
public void turn(int new_direction)
public void say(String s)
public void place()
public void grab()
public void feel()
public void beginSimulation(boolean pause)
public void waitForReset()
public String getInput()
public void setInputMode(int mode)
public void setBoard(Board board)
public void endGame(boolean won)
public void reset(BotBoard botboard)
public void alert(String s)
s - The message to display.public void inform(String s)
s - The message to display.
public void pausing(boolean is_on,
String why)
public void redraw()
public void endAction()
public int getCurrentTime()
public Runner getRunner()
public void selectBot()
public void selectBoard()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||