public MountainBikeRange() { _bicycles = new IBicycle[5]; _bicycles[0] = new Downhill(new WideWheel(22)); _bicycles[1] = new Downhill(BikeColor.blue, new WideWheel(22)); _bicycles[2] = new Downhill(BikeColor.black, new WideWheel(26)); _bicycles[3] = new CrossCountry(new WideWheel(22)); _bicycles[4] = new CrossCountry(BikeColor.green, new WideWheel(24)); }
public MountainBikeRange() { _bicycles = new IBicycle[5]; //defines the range of MountainBikes available to purchase _bicycles[0] = new Downhill(new WideWheel(28)); _bicycles[1] = new Downhill(BikeColor.Ocean, new WideWheel(26)); _bicycles[2] = new Downhill(BikeColor.Orange, new WideWheel(29)); _bicycles[3] = new CrossCountry(new WideWheel(23)); _bicycles[4] = new CrossCountry(BikeColor.Purple, new WideWheel(22)); }
public MountainBikeRange() { _bicycles = new IBicycle[5]; // Define the range of Mountain Bikes available _bicycles[0] = new Downhill(new WideWheel(22)); _bicycles[1] = new Downhill(BikeColor.Blue, new WideWheel(24)); _bicycles[2] = new Downhill(BikeColor.Black, new WideWheel(26)); _bicycles[3] = new CrossCountry(new WideWheel(22)); _bicycles[4] = new CrossCountry(BikeColor.Pink, new WideWheel(24)); }
public MountainBikeRange() { _bicycles = new IBicycle[5]; //define the range of mountain bike avalible _bicycles[0] = new Downhill(new Widewheel(22)); _bicycles[1] = new Downhill(BikeColor.Blue, new Widewheel(24)); _bicycles[2] = new Downhill(BikeColor.Black, new Widewheel(26)); _bicycles[3] = new CrossCountry(new Widewheel(22)); _bicycles[4] = new CrossCountry(BikeColor.Green, new Widewheel(24)); }