import structure.*; import java.util.Random; /** * This class controls the simulation. The design is entirely up to you. You * should include a main method that takes the array of species file names * passed in and populates a world with species of each type. *

* Be sure to call the WorldMap.pause() method every time through the main * simulation loop or else the simulation will be too fast. For example: * *

 *  public void simulate() { for (int rounds = 0; rounds < numRounds; rounds++) {giveEachCreatureOneTurn(); pause(100); } }
 * 
*/ class Darwin { /** * The array passed into main will include the arguments that appeared on * the command line. For example, running "java Darwin Hop.txt Rover.txt" * will call the main method with s being an array of two strings: "Hop.txt" * and "Rover.txt". */ public static void main(String s[]) { } public void simulate() { //don't forget to call pause somewhere in the simulator's loop... WorldMap.pause(500); } }