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

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

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

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

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