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

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

        this.Car.ChangeTyres(tyre);
    }
예제 #6
0
 internal void ChangeTyres(Tyre tyre)
 {
     this.Tyre = tyre;
 }
예제 #7
0
    public void ChangeTyres(Tyre tyre)
    {
        this.Box();

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

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