PlayerStates.js 410 B

1234567891011121314151617181920
  1. var playerConfig = require("./PlayerConfig.js");
  2. cc.Class({
  3. extends: require("BasePlayerStates"),
  4. properties: {
  5. },
  6. init()
  7. {
  8. this._super();
  9. this.endLineStopPoint = 20+(70/2);
  10. //handrailEndX extend length
  11. this.handrailExtlen = 250;
  12. this.Combo = 0;
  13. this.runningCountArr = [];
  14. this.jumpTimes = 0;
  15. this.runTimes = 0;
  16. }
  17. });