测试
This commit is contained in:
parent
849c7ffb62
commit
a616f4a5da
@ -39,7 +39,10 @@ class THPlatform extends JlPlatform {
|
||||
this.doorGraphic.stateFillColor = THConsts.doorGraphic.doorRed;
|
||||
}
|
||||
super.draw();
|
||||
this.doorGraphic.clear();
|
||||
if (this.datas.hasdoor) {
|
||||
this.doorGraphic.draw();
|
||||
}
|
||||
this.codeGraphic.draw();
|
||||
if (this.datas.direction == 'down') {
|
||||
this.doorGraphic.changePosition();
|
||||
|
@ -85,7 +85,10 @@ export class THPlatform extends JlPlatform {
|
||||
this.doorGraphic.stateFillColor = THConsts.doorGraphic.doorRed;
|
||||
}
|
||||
super.draw();
|
||||
this.doorGraphic.clear();
|
||||
if (this.datas.hasdoor) {
|
||||
this.doorGraphic.draw();
|
||||
}
|
||||
this.codeGraphic.draw();
|
||||
if (this.datas.direction == 'down') {
|
||||
this.doorGraphic.changePosition();
|
||||
|
Loading…
Reference in New Issue
Block a user