コード例 #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));
 }