/// <summary>
 /// Helper method to initiate the VehicleSpawned event
 /// </summary>
 /// <param name="e">Event parameters</param>
 protected void OnVehicleSpawned(VehicleSpawnedEventArgs e)
 {
     if (VehicleSpawned != null)
     {
         VehicleSpawned(this, e);
     }
 }
Example #2
0
 /// <summary>
 /// Helper method to initiate the VehicleSpawned event
 /// </summary>
 /// <param name="e">Event parameters</param>
 protected void OnVehicleSpawned(VehicleSpawnedEventArgs e)
 {
     if (VehicleSpawned != null)
         {
         VehicleSpawned(this, e);
         }
 }