Due Wednesday, April 23, in class. .
This assignment calls for the first round of the elevator simulation. I've designed it so that you can build a structure into which you can fit the details as they evolve. I've tried to ask for things you can do that you won't have to redo after you get feedback from the last assignment.
The overall architecture has three levels:
Write a driver class Simulate with a static main that creates an ElevatorSimulation object, populates it with input data read from file something.els and echoes its input to file something.els.out. The input should be passed on the command line:
java Simulate sample.els
Write two or three of the top level classes you know you will need.
One should certainly be the Elevator class. Write a unit test Be sure to keep your unit test up to date as the class evolves. Decide how the ElevatorSimulation will know about its Elevators, create them and make sure the unit test in ElevatorSimulation tests the construction of Elevators.
Choose another few classes you know you will need and begin them.
Pay attention to fields, getters and setters. Don't try to implement any logic yet.