Esempio n. 1
0
 public void ChangeTyre(Tyre newTyre)
 {
     this.Tyre = newTyre;
 }
Esempio n. 2
0
    internal void ChangeTyres(Tyre tyre)
    {
        this.Box();

        this.Car.ChangeTyres(tyre);
    }
Esempio n. 3
0
 public Car(int hp, double fuelAmount, Tyre tyre)
 {
     this.Hp         = hp;
     this.FuelAmount = fuelAmount;
     this.Tyre       = tyre;
 }
Esempio n. 4
0
 public void ChangeTyres(Tyre tyre)
 {
     this.Tyre = tyre;
 }
Esempio n. 5
0
    public void ChangeTyres(Tyre tyre)
    {
        this.TotalTime += 20;

        this.Car.ChangeTyres(tyre);
    }
Esempio n. 6
0
 internal void ChangeTyres(Tyre tyre)
 {
     this.Tyre = tyre;
 }
Esempio n. 7
0
    public void ChangeTyres(Tyre tyre)
    {
        this.Box();

        this.Car.ChangeTyres(tyre);
    }
Esempio n. 8
0
 public void ChangeTyre(Tyre type)
 {
     this.Tyre = type;
 }
Esempio n. 9
0
 public Car(int hp, double fuelAmount, Tyre tyre)
 {
     this.Hp = hp;
     Refuel(fuelAmount);
     this.Tyre = tyre;
 }
Esempio n. 10
0
        public IActionResult TyreCreate()
        {
            var newTyre = new Tyre();

            return(View("TyreModify", newTyre));
        }
Esempio n. 11
0
 public Car(int hp, double fuelAmount, Tyre tyre)
 {
     Hp         = hp;
     FuelAmount = fuelAmount;
     Tyre       = tyre;
 }
Esempio n. 12
0
 public static Car CreateCar(List <string> commandArgs, Tyre tyre)
 {
     return(new Car(int.Parse(commandArgs[0]), double.Parse(commandArgs[1]), tyre));
 }
Esempio n. 13
0
 public Car(int horsePower, double fuelAmount, Tyre tyre)
 {
     this.Hp         = horsePower;
     this.FuelAmount = fuelAmount;
     this.Tyre       = tyre;
 }
Esempio n. 14
0
 public void BoxForTyres(Tyre tyre)
 {
     this.Car.ChangeTyres(tyre);
 }
Esempio n. 15
0
 public void setTyres(Tyre nTyre)
 {
     tyre = nTyre;
 }
Esempio n. 16
0
 public Car(int hp, double fuelAmount, Tyre tyreType)
 {
     this.hp         = hp;
     this.Tyre       = tyreType;
     this.FuelAmount = fuelAmount;
 }