Пример #1
0
 public void IncreaseStopLightCounter()
 {
     if (mapObject != null)
     {
         if (mapObject.mapObjectProperties.mapObjectType == MapObjectType.STOPLIGHT)
         {
             StopLight stopLight = (StopLight)mapObject.mapObjectProperties;
             stopLight.IncreaseVehicleCounter();
         }
     }
 }