Exemple #1
0
        public void AddVehicle(Vehicle vehicleToAdd)
        {
            this.vehicles.Add(vehicleToAdd);

            AddVehicleEvent?.Invoke(vehicleToAdd);
        }
Exemple #2
0
 public void AddVehicle(Vehicle vehicle)
 {
     vehicles.Add(vehicle);
     AddVehicleEvent?.Invoke(vehicle);
 }