controller
Class LightController
java.lang.Object
controller.LightController
public class LightController
- extends Object
This is the controller class for the program. It contains the main function and
instantiates both the model and view. It also passes in the connectors to the model
and view with their pass through methods.
Constructor Summary |
LightController()
This constructor starts the entire program and instantiates both the model and view. |
Method Summary |
static void |
main(String[] args)
The main method for the class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LightController
public LightController()
- This constructor starts the entire program and instantiates both the model and view.
main
public static void main(String[] args)
- The main method for the class. This will start the program.
- Parameters:
args
- String of command line arguments, current unused.