bot
Class Block

java.lang.Object
  extended bybot.Thing
      extended bybot.Wall
          extended bybot.Block
All Implemented Interfaces:
Cloneable, Serializable

public class Block
extends Wall

This is a big block of granite. It is a wall, but it has color, and some objects deal with blocks and not walls.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class bot.Thing
name, owner
 
Constructor Summary
Block()
           
 
Method Summary
 String pictureName()
          This is the graphic that should be used to render the thing on the screen.
 double weight()
          A Block is 100 times the weight of a Bot!
 
Methods inherited from class bot.Thing
claim, clone, examine, getName, getOwner, nudge, toString, use
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Block

public Block()
Method Detail

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

weight

public double weight()
A Block is 100 times the weight of a Bot! Heavy!

Overrides:
weight in class Wall