bot
Class Eyes
java.lang.Object
bot.Thing
bot.Eyes
- All Implemented Interfaces:
- Cloneable, Serializable
- public class Eyes
- extends Thing
A thing which returns what the bot is looking at. (I.e. keep looking
down hall and return the next Thing visible.)
- See Also:
- Serialized Form
Eyes
public Eyes()
Eyes
public Eyes(Bot owner)
use
public String use()
- Look and return what you see.
- Overrides:
use in class Thing
- Returns:
- A string describing what happened, or returning any info
about the use.
examine
public String examine()
- Description copied from class:
Thing
- Describe the thing.
- Overrides:
examine in class Thing
- Returns:
- A string which is a human-readable description of the thing.
look
public Thing look()
- Return number of walls adjacent.
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 Thing