bot
Class Acid

java.lang.Object
  extended bybot.Thing
      extended bybot.Actor
          extended bybot.Acid
All Implemented Interfaces:
Cloneable, Serializable

public class Acid
extends Actor

Acid will kill any bot that it acts on.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class bot.Thing
name, owner
 
Constructor Summary
Acid()
           
 
Method Summary
 void act(Bot bot)
          Override this method to make the actor do something to the passed bot.
 String pictureName()
          We are usually invisible.
 
Methods inherited from class bot.Thing
claim, clone, examine, getName, getOwner, nudge, toString, use, weight
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Acid

public Acid()
Method Detail

act

public void act(Bot bot)
         throws BotException
Description copied from class: Actor
Override this method to make the actor do something to the passed bot.

Overrides:
act in class Actor
Throws:
BotException

pictureName

public String pictureName()
Description copied from class: Actor
We are usually invisible.

Overrides:
pictureName in class Actor