/// <summary> /// The tram has departed from this stop, to the next stop. /// </summary> /// <param name="state"></param> protected override void ExecuteEvent(WorldState state) { scheduleEvent(new ArriveStopEvent(tram, stop.NextStop, scheduler), stop.GenerateRandomTravelTime()); }