예제 #1
0
 public bool CanFitInSpot(ParkingSpot spot)
 {
     return(SpotVehicleFitCalculator.CanFit(spot, this));
 }
예제 #2
0
 // only checks size (not if more than one is needed)
 public bool CanFitVehicle(Vehicle v)
 {
     return(SpotVehicleFitCalculator.CanFit(this, v));
 }