 class RideEngine
+  @MAX_RIDES = 4
+
   constructor: (grid, car) ->
     @grid = grid
     @car = car

      zone.hide()
    for id, wrapper of @dropZones
      wrapper.zone.hide()
  
  onCarMove: (e) ->
    pickupZoneToRemove = []
    dropZoneToRemove = []

    for id, zone of @pickupZones
      if zone.isNearMe(@car.getCurrentPosition())
        zone.hide()
        EventBus.get('RideEngine').post(PickupEvent.NAME, new PickupEvent(zone))

          startTime: Date.now()
          zone: d
        pickupZoneToRemove.push id # Remove from current pickup zones
        currentRides++

    for e in pickupZoneToRemove
      delete @pickupZones[e]
