internal Car(string i_LicenseId, string i_NameOfModel) : base(i_LicenseId, i_NameOfModel) { IntalizingWheels(4, 31); m_VehicleInfo = new VehicleInfo(); }
public void InflateWheelsToMax(string i_LicensePlate) { VehicleInfo v = FindVehicle(i_LicensePlate); v.Vehicle.InflateWheelsToMax(); }
public void FillGas(string i_VehicleLicensePlate, Gasoline.eGasType i_GasType, float i_ToAdd) { VehicleInfo currVehicleInfo = FindVehicle(i_VehicleLicensePlate); currVehicleInfo.Vehicle.RefillGas(i_ToAdd, i_GasType); }
public void Insert(VehicleInfo i_VehicleInfo) { r_VehicleList.Add(i_VehicleInfo.Vehicle.LicensePlate, i_VehicleInfo); }