Commit 328e5514 authored by wjf's avatar wjf

Merge branch 'master' of gitlab2.dui88.com:MrKwon/game2048

parents 4ea56822 6d083fc9
......@@ -602,6 +602,10 @@ export class PlayScene extends Scene {
this.bombBtn.mouseEnable = true
this.bombing = false
this.removeChild(showImage)
if (this.checkAllZero()) {
// 只有0
this.generateOneElement()
}
}, 300);
}, PropType.boom)
......@@ -703,6 +707,10 @@ export class PlayScene extends Scene {
this.removeAnis()
// if (!this.isGameWin())
this.isGameOver()
if (this.checkAllZero()) {
// 只有0
this.generateOneElement()
}
}, 300);
}, PropType.net)
}, this)
......
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