package WatorWorld;

// Student information for assignemnt.
// Student 1 Name:
// Student 1 UTEID:
// Student 2 Name:
// Student 2 UTEID:

// Slip days used:

// replace <Student1> and <Student2> with your names
// stating this is your own work.
// On our (my) honor <Student1> and <Student2> this
// assignmentis our (my) own work.
import java.util.Scanner;

/**
 * Class to kick off the Wator World simulation and GUI.
 */
public class WatorMain {
    
    public static void main(String[] args) { 
        WatorFrame f = new WatorFrame(); 
        f.start(); 
    } 
    
    /*
     * This is a test method. It can be used to debug the none GUI 
     * portion of the simulation.
     */
    private static void testWithPrinting(){
        WatorWorld theWorld = new WatorWorld(20, 20, 350, 10);
        Scanner s = new Scanner(System.in);
        String response = null;
        do{
            System.out.println("number of fish: " + theWorld.getNumFish()
                    + ", number of sharks: " + theWorld.getNumSharks());
            System.out.println(theWorld);
            theWorld.step();
            System.out.println("Press enter to continue or any character and enter to stop.");
            response = s.nextLine();
        } while(response.length() < 2);
        
    }
}