step method used to step through the simulation and increment the number of steps taken accordingly concode_field_sep ArrivalHall arrivingPassengers concode_elem_sep CustomsDesk[] customsArea concode_elem_sep Passenger currentPassenger concode_elem_sep Log myLog concode_elem_sep int numPassengers concode_elem_sep int numCustomsDesks concode_elem_sep int MAX_NUM_DESKS concode_elem_sep int stepsTaken concode_elem_sep int MIN_NUM_DESKS concode_elem_sep EventCalendar myCalendar concode_field_sep int totalNumberOfSteps concode_elem_sep Color getCurrentPassengerColor concode_elem_sep double averageWaitTime concode_elem_sep boolean passengerClearedCustoms concode_elem_sep int getCurrentIndex concode_elem_sep double averageProcessTime concode_elem_sep void setUp concode_elem_sep int getStepsTaken concode_elem_sep boolean moreSteps
void function ( ) { currentPassenger = null ; currentPassenger = myCalendar . nextToBeProcessed ( ) . processNext ( ) ; stepsTaken ++ ; }