import becker.robots.*; /** * this is a simple class that does nothing but create rectangles of dots **/ public class HarvesterRectangle { /** * The constructor does all the work * @param initStreet street location of the upper left corner of the rectangle * @param initAve avenue location of the upper left corner of the rectangle * @param numRows number of rows (avenues) for the rectangle * @param numCols number of columns (streets) for the rectangle **/ public HarvesterRectangle(City city,int initStreet,int initAve,int numRows,int numCols) { for(int row = initStreet; row < initStreet+numRows; ++row) { for(int col = initAve; col < initAve+numCols; ++col) { Thing thisThing = new Thing(city,row,col); } } } } // public class HarvesterPlanter