bot
Class Door
java.lang.Object
bot.Thing
bot.Wall
bot.Door
- All Implemented Interfaces:
- Cloneable, Serializable
- public class Door
- extends Wall
This most common thing is the bain of any good bot.
- See Also:
- Serialized Form
|
Constructor Summary |
Door()
|
|
Method Summary |
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. |
Door
public Door()
nudge
public void nudge(Bot bot)
- Description copied from class:
Thing
- When grabbed, this method gets called to tell the thing
it has been disturbed.
- Overrides:
nudge in class Thing
pictureName
public String pictureName()
- Description copied from class:
Thing
- This is the graphic that should be used to render the thing on the screen.
- Overrides:
pictureName in class Wall