cc.Class({ extends: cc.Component, properties: { }, onLoad () { this.progress = 0; this.progressTag = { defalt: -1, ready: 0, start: 1, finish: 2, }; this.startPosition = {'x':0,'y':0}; this.PunchTimes = 0; this.totalTime = {'second':10,'millisecond':0,'secondBase':60,'millisecondBase':60}; }, });