Esempio n. 1
0
 internal Car(string i_LicenseId, string i_NameOfModel)
     : base(i_LicenseId, i_NameOfModel)
 {
     IntalizingWheels(4, 31);
     m_VehicleInfo = new VehicleInfo();
 }
Esempio n. 2
0
        public void InflateWheelsToMax(string i_LicensePlate)
        {
            VehicleInfo v = FindVehicle(i_LicensePlate);

            v.Vehicle.InflateWheelsToMax();
        }
Esempio n. 3
0
        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);
        }
Esempio n. 4
0
 public void Insert(VehicleInfo i_VehicleInfo)
 {
     r_VehicleList.Add(i_VehicleInfo.Vehicle.LicensePlate, i_VehicleInfo);
 }