bot
Class Critter
java.lang.Object
bot.Thing
bot.Actor
bot.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
Critter
public Critter(Square start,
CritterBoard b)
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