Uses of Interface
sim.Critter

Packages that use Critter
Default Package   
sim This package defines the interfaces and classes that make up the CSE 142 MatrixModel simulations. 
 

Uses of Critter in
 

Classes in Default Package that implement Critter
 class Grass
          This is a simple Critter implementation.
 class Insect
          This class implements a basic critter that lives in BugWorld.
 

Methods in Default Package that return Critter
 Critter Insect.reproduce()
           
 Critter Grass.reproduce()
           
 

Methods in Default Package with parameters of type Critter
 void BugWorldView.addCritter(Critter bug, int[] loc)
           
 void BugWorldView.removeCritter(Critter bug)
           
 void BugWorldView.moveCritter(Critter bug, int[] newLoc)
           
 

Uses of Critter in sim
 

Methods in sim that return Critter
 Critter MatrixModel.getCritter(int[] loc)
          Get the Critter at the given (row,col) address in the cell array
 Critter Critter.reproduce()
          This method creates another object of the same type as this Critter.
 Critter BasicMatrixModel.getCritter(int[] loc)
           
 

Methods in sim with parameters of type Critter
 void MatrixView.addCritter(Critter bug, int[] curLoc)
          Add the given Critter to the collection of Critters we are displaying.
 void MatrixView.removeCritter(Critter bug)
          Remove the given Critter from the collection of Critters we are displaying.
 void MatrixView.moveCritter(Critter bug, int[] newLoc)
          Update the display to reflect a new position for the given Critter.
static CritterInfo BasicMatrixModel.createCritterInfoInstance(Critter me, int life, int repro, int maxCal, int burn, int strength)
          Get a new instance of an object that implements the CritterInfo interface.