bot
Class Critter

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

public class Critter
extends Actor

A Critter is an Actor that moves around the board. It is a work in progress and some code reworking and restructuring needs to happen before this will come off at all nicely.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class bot.Actor
can_feel
 
Fields inherited from class bot.Thing
name, owner
 
Constructor Summary
Critter(Square start, CritterBoard b)
           
 
Method Summary
 void act(Bot b)
          Override this method to make the actor do something to the passed bot.
 String pictureName()
          Nasty, nasty creatures us.
 void tick(Informer inf)
           
 String toString()
          Return string description of thing.
 
Methods inherited from class bot.Actor
feelable
 
Methods inherited from class bot.Thing
claim, clone, examine, getName, getOwner, nudge, use, weight
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Critter

public Critter(Square start,
               CritterBoard b)
Method Detail

act

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

Overrides:
act in class Actor

tick

public void tick(Informer inf)

pictureName

public String pictureName()
Nasty, nasty creatures us.

Overrides:
pictureName in class Actor

toString

public String toString()
Description copied from class: Thing
Return string description of thing.

Overrides:
toString in class Thing