예제 #1
0
파일: Car.cs 프로젝트: DanBinyamin/Garge
 internal Car(string i_LicenseId, string i_NameOfModel)
     : base(i_LicenseId, i_NameOfModel)
 {
     IntalizingWheels(4, 31);
     m_VehicleInfo = new VehicleInfo();
 }
예제 #2
0
        public void InflateWheelsToMax(string i_LicensePlate)
        {
            VehicleInfo v = FindVehicle(i_LicensePlate);

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