bot
Class Block
java.lang.Object
bot.Thing
bot.Wall
bot.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
|
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! |
Block
public Block()
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