Commit 985450b4 authored by zjz1994's avatar zjz1994

代码暂存

parent dc4280f0
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -551,6 +551,8 @@
console.log("倒计时已结束2==========", this.inEliminate, this.inrecord, type);
}
if (this.ingameover && !this.inEliminate && !this.inrecord) {
this.unShowEleAttion();
this.anicontainer.removeChild(this.jiantoucont);
engine.globalEvent.dispatchEvent("game-over", {
score: this.score
});
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -276,6 +276,9 @@ export default class GameView extends engine.Container {
console.log("倒计时已结束2==========",this.inEliminate,this.inrecord,type);
}
if(this.ingameover&&!this.inEliminate&&!this.inrecord){
this.unShowEleAttion();
this.anicontainer.removeChild(this.jiantoucont);
engine.globalEvent.dispatchEvent("game-over",{
score:this.score
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment