Exemple #1
0
    public override void Setup()
    {
        base.Setup();

        Item[] itemsInsideCar = new Item[4];

        for (int i = 0; i < initialWheels; i++)
        {
            itemsInsideCar[i] = wheel.Copy();
        }

        Car newCar = new Car(false, itemsInsideCar);

        parkingLot.initialItems.Add(newCar);
    }