1700459561
1700459562
}
1700459563
1700459564
/*
1700459565
1700459566
*C型号的宝马车是先按下喇叭(炫耀嘛),然后启动,然后停止
1700459567
1700459568
*/
1700459569
1700459570
public BMWModel getCBMWModel(){
1700459571
1700459572
this.sequence.clear();
1700459573
1700459574
this.sequence.add(“alarm”);
1700459575
1700459576
this.sequence.add(“start”);
1700459577
1700459578
this.sequence.add(“stop”);
1700459579
1700459580
this.bmwBuilder.setSequence(this.sequence);
1700459581
1700459582
return(BMWModel)this.bmwBuilder.getCarModel();
1700459583
1700459584
}
1700459585
1700459586
/*
1700459587
1700459588
*D类型的宝马车只有一个功能,就是跑,启动起来就跑,永远不停止
1700459589
1700459590
*/
1700459591
1700459592
public BMWModel getDBMWModel(){
1700459593
1700459594
this.sequence.clear();
1700459595
1700459596
this.sequence.add(“start”);
1700459597
1700459598
this.bmwBuilder.setSequence(this.sequence);
1700459599
1700459600
return(BMWModel)this.benzBuilder.getCarModel();
1700459601
1700459602
}
1700459603
1700459604
/*
1700459605
1700459606
*这里还可以有很多方法,你可以先停止,然后再启动,或者一直停着不动,静态的嘛
1700459607
1700459608
*导演类嘛,按照什么顺序是导演说了算
1700459609
1700459610
*/
[
上一页 ]
[ :1.700459561e+09 ]
[
下一页 ]