cc.Class({ extends: cc.Component, properties: { }, onLoad () { this.bStart =false; this.startPosition = {'x':0,'y':0}; this.PunchTimes = 0; }, start () { }, // update (dt) {}, });