/* Car Wash Simulation Project: SimApplication Class The Car Wash Simulation Project is described in Car Wash Project Description. Authors: Autumn C. Spaulding and Alyce Brady, based on a description by Todd Ollendyke. Date: 13 July 2000 Modified: 12 October 2000 Added Bay class and separated simulation behavior from main into the CarWashSimulation class. Modified: 29 October 2002 Separated class templates into separate files. Copyright 2000, 2002 Autumn C. Spaulding and Alyce Brady This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /** This is the main class for the Car Wash program. */ public class SimApplication { /** The main function constructs a car wash simulation and asks it to run. @param String args[] is not used in this implementation @return void */ public static void main(String args[]) { Debug.turnOff(); // Construct a simulation object and start the simulation. // The car wash is open from 9am to 7pm (10 hours). CarWashSimulation sim = new CarWashSimulation(); /******************************************************************** * * * Code missing: run the simulation for a certain length of time. * * * ********************************************************************/ System.out.println("Program done."); } // end main } // end class SimApplication class