import becker.robots.*; /** * variation on the harvesting a rectangle, using while loops **/ public class HarvesterMain { public static void main (String[] args) { int initCol,initRow,numCols,numRows; City pelion = new City(); initRow = 1; initCol = 2; numRows = 7; numCols = 3; HarvesterRectangle myRectangle = new HarvesterRectangle(pelion,initRow,initCol,numRows,numCols); Harvester sharon = new Harvester(pelion,initRow,initCol,Direction.EAST); sharon.harvestField(); } // public static void main (String[] args) } // public class HarvesterMain