GamePropertys.ts 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. import { _decorator, Component, Node } from 'cc';
  2. const { ccclass, property } = _decorator;
  3. export class GamePropertys {
  4. /**
  5. * 当前武器ID
  6. */
  7. public static currentWeaponId:string="currentWeaponId";
  8. /**
  9. * 当前关卡
  10. */
  11. public static currentLevel:string="currentLevel";
  12. /**
  13. * 当前总收益
  14. */
  15. public static fullEarnings:string="fullEarnings";
  16. /**
  17. * 栅栏
  18. */
  19. public static currentFenceId:string="currentFenceId";
  20. /**
  21. * 最大关卡数
  22. */
  23. public static maxLevel:string="maxLevel";
  24. /**
  25. * 当前关杀死的怪物数量
  26. */
  27. public static killCount:string="killCount";
  28. /**
  29. * 怒气值
  30. */
  31. public static angerCount:string="angerCount";
  32. /**
  33. * 金币
  34. */
  35. public static gold:string="gold";
  36. /**
  37. * 钻石
  38. */
  39. public static diamond:string="diamond";
  40. /**
  41. * 积分
  42. */
  43. public static integral:string="integral";
  44. /**
  45. * 武器格子改变
  46. */
  47. public static WeaponCell:string="weaponCell";
  48. /**
  49. * 合成最大等级
  50. */
  51. public static synthesisMaxWeaponId:string="synthesisMaxWeaponId";
  52. /**
  53. * 自动合成Buffer剩余时间
  54. */
  55. public static autoSynthesisTime:string="autoSynthesisTime";
  56. /**
  57. * 加速BUFFER剩余时间
  58. */
  59. public static accelerateTime:string="accelerateTime";
  60. }