src/VirusSpreadSimulator.java
/*
	 * Updates the information in the program when the user changes the setting.
	 */
Updates the information in the program when the user changes the setting.
Updates the information in the program when the user changes the setting .
private void update() {
		if(runState == STATE.Run) {
			city.update();
		}
		else if(runState == STATE.Menu || runState == STATE.End || runState == STATE.Help || runState == STATE.Set) {
			menu.tick();
		}
	}
private void update ( ) { if ( runState == STATE . Run ) { city . update ( ) ; } else if ( runState == STATE . Menu || runState == STATE . End || runState == STATE . Help || runState == STATE . Set ) { menu . tick ( ) ; } }
Updates the information in the program when the user changes the setting.
Updates the information in the program when the user changes the setting .