Commit 26650b88 authored by huoshizhe's avatar huoshizhe

feat:

parent 1a082355
......@@ -299,8 +299,10 @@ cc.Class({
this.audioId = null
this.playAnim.play('stopAudio')
if (this.curPage == this.data.length - 1) {
if (!this.front) {
this.showFire()
}
}
});
});
},
......@@ -334,7 +336,12 @@ cc.Class({
fired: false,
showFire() {
cc.tween(this.node)
.delay(1)
.call(() => {
onHomeworkFinish();
})
.start();
return
if (this.fired) return
this.fired = true
......
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