Class BugWorldModel

java.lang.Object
  extended bysim.BasicMatrixModel
      extended byBugWorldModel
All Implemented Interfaces:
MatrixModel

public class BugWorldModel
extends BasicMatrixModel

This class creates and manages a simple 2D population model.


Constructor Summary
BugWorldModel(int r, int c)
          Using the cell counts given, create a new model.
 
Methods inherited from class sim.BasicMatrixModel
addView, createCritterInfoInstance, getCritter, getDimensions, step
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BugWorldModel

public BugWorldModel(int r,
                     int c)
Using the cell counts given, create a new model.

Parameters:
r - number of rows of cells
c - number of columns of cells