bot
Class Door

java.lang.Object
  extended bybot.Thing
      extended bybot.Wall
          extended bybot.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

Field Summary
 
Fields inherited from class bot.Thing
name, owner
 
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.
 
Methods inherited from class bot.Wall
weight
 
Methods inherited from class bot.Thing
claim, clone, examine, getName, getOwner, toString, use
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Door

public Door()
Method Detail

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