public OppoFindX2(IColor color, IBattery battery, IQuickCharge quickcharge) : base(color, battery, quickcharge)
 {
     _model       = "Oppo Find X2";
     _color       = new GoldColor();
     _battery     = new StrongBattery();
     _quickcharge = new Charge40();
 }
Exemple #2
0
 public SamsungNote10(IColor color, IBattery battery, IQuickCharge quickcharge) : base(color, battery, quickcharge)
 {
     _model       = "Samsung Note 10";
     _color       = new GoldColor();
     _battery     = new StrongBattery();
     _quickcharge = new Charge40();
 }
 public IPhoneSE2(IColor color, IBattery battery, IQuickCharge quickcharge) : base(color, battery, quickcharge)
 {
     _color       = new GoldColor();
     _battery     = new StrongBattery();
     _quickcharge = new Charge40();
     _model       = "IPhone SE 2";
 }