cc.Class({ extends: cc.Component, properties: { bSinglePlayMode:false, }, onLoad () { this.currentTime = 0; this.kCal = 0; this.currentRound = 0; this.bRest = true; this.roundTime = 0; this.currentSoundIndex = 0; this.currentActionIndex = 0; this.bLoop = false; this.default=0; this.demonstration=1; this.countDown=2; this.playing=3; this.curretState = this.default; this.hightLightActionArr = []; //面板数据 this.missCount = 0; this.hitCount = 0; }, });