fishPond
Class Controller

java.lang.Object
  extended by fishPond.Controller

public class Controller
extends java.lang.Object

THIS CLASS IS IMPLEMENTED FOR YOU -- DO NOT MODIFY IT!

The Controller class contains main(), which instantiates the Controller.

The constructor of the Controller instantiates the Model and the View. (The Model is re-instantiated each time the user re-starts the simulation by pressing a button.) The constructor starts the simulation.

Author:
Fawzi Emad, Copyright(C) 2005

Constructor Summary
Controller()
          Controller is normally only instantiated ONCE.
 
Method Summary
static void main(java.lang.String[] args)
          Driver that simply instantiates the Controller.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Controller

public Controller()
Controller is normally only instantiated ONCE. The constructor seeds the random number generator, creates the Model and the View, and runs the simulation.

Method Detail

main

public static void main(java.lang.String[] args)
Driver that simply instantiates the Controller.



Web Accessibility