Commit 48fbe764 authored by Edwise's avatar Edwise 🍷

11234

parent a7a6172d
...@@ -125,6 +125,7 @@ export class Cat extends Module { ...@@ -125,6 +125,7 @@ export class Cat extends Module {
this.catAnimArr[i].visible = true; this.catAnimArr[i].visible = true;
let loop = callback ? 1 : 0; let loop = callback ? 1 : 0;
console.log("hahaha",loop) console.log("hahaha",loop)
this.catAnimArr[i].stop();
this.catAnimArr[i].play(loop, callback) this.catAnimArr[i].play(loop, callback)
console.log("播放",index) console.log("播放",index)
} else { } else {
......
...@@ -160,6 +160,15 @@ export class MainSceneBtnUi extends Module{ ...@@ -160,6 +160,15 @@ export class MainSceneBtnUi extends Module{
case that.playBtn: case that.playBtn:
that.catPlay(); that.catPlay();
break; break;
case that.combingBtn:
that.catClear();
break;
case that.catBtn:
that.catRua();
break;
case that.touchHeadBtn:
that.catTouch();
break;
case that.strategyBtn: case that.strategyBtn:
that.openStrategy(); that.openStrategy();
break; break;
......
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