|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectfishPond.Controller
public class Controller
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.
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 |
---|
public Controller()
Method Detail |
---|
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |