LaneAccess constructor

LaneAccess(
  1. bool automobiles,
  2. bool buses,
  3. bool taxis,
  4. bool carpools,
  5. bool pedestrians,
  6. bool trucks,
  7. bool throughTraffic,
  8. bool deliveryVehicles,
  9. bool emergencyVehicles,
  10. bool motorcycles,
)

Creates a new instance.

  • automobiles Four-wheel vehicles that are allowed according to national/local vehicle regulations to drive on motorways, ranging from sub-compact cars to full-size vans and light road vehicles.
  • buses Buses that are used for public transportation.
  • taxis Four-wheel vehicles that are usually fitted with a taximeter, that may be hired, along with their driver, to carry passengers to any specified destination.
  • carpools Represents the sharing of car journeys so that more than one person travels in a car, and prevents the need for others to have to drive to a location themselves.
  • pedestrians Persons traveling on foot, whether walking or running.
  • trucks Large vehicles that range from medium to heavy duty trucks.
  • throughTraffic Passenger vehicles (i.e., those defined as passenger car/automobiles) that are allowed to access roads that have traffic restrictions.
  • deliveryVehicles Delivery LaneAccess.trucks that are permitted to enter the city proper to unload goods at businesses.
  • emergencyVehicles Any vehicle that is designated and authorized to respond to an emergency in a life-threatening situation.
  • motorcycles Motorized two-wheeled passenger vehicles. Generally, mopeds are considered motorcycles.

Implementation

LaneAccess(this.automobiles, this.buses, this.taxis, this.carpools, this.pedestrians, this.trucks, this.throughTraffic, this.deliveryVehicles, this.emergencyVehicles, this.motorcycles);