|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbot.Thing
bot.Bomb
| Field Summary |
| Fields inherited from class bot.Thing |
name, owner |
| Constructor Summary | |
Bomb()
|
|
| Method Summary | |
String |
examine()
Describe the thing. |
void |
nudge(Bot bot)
When grabbed, this method gets called to tell the thing it has been disturbed. |
String |
pictureName()
This is the graphic that should be used to render the thing on the screen. |
String |
use()
All things can be used. |
double |
weight()
Weight of the Thing in milliBots. |
| Methods inherited from class bot.Thing |
claim, clone, getName, getOwner, toString |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Bomb()
| Method Detail |
public String use()
Thing
use in class Thingpublic String examine()
Thing
examine in class Thingpublic void nudge(Bot bot)
nudge in class Thingpublic String pictureName()
Thing
pictureName in class Thingpublic double weight()
Thing
weight in class Thing
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||