GameStates.js 426 B

123456789101112131415161718192021
  1. cc.Class({
  2. extends: cc.Component,
  3. properties: {
  4. },
  5. onLoad () {
  6. this.progress = 0;
  7. this.progressTag = {
  8. defalt: -1,
  9. ready: 0,
  10. start: 1,
  11. finish: 2,
  12. };
  13. this.startPosition = {'x':0,'y':0};
  14. this.PunchTimes = 0;
  15. this.totalTime = {'second':10,'millisecond':0,'secondBase':60,'millisecondBase':60};
  16. },
  17. });