GamePropertys.ts 989 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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 currentFenceId:string="currentFenceId";
  16. /**
  17. * 最大关卡数
  18. */
  19. public static maxLevel:string="maxLevel";
  20. /**
  21. * 当前关杀死的怪物数量
  22. */
  23. public static killCount:string="killCount";
  24. /**
  25. * 怒气值
  26. */
  27. public static angerCount:string="angerCount";
  28. /**
  29. * 金币
  30. */
  31. public static gold:string="gold";
  32. /**
  33. * 钻石
  34. */
  35. public static diamond:string="diamond";
  36. /**
  37. * 积分
  38. */
  39. public static integral:string="integral";
  40. /**
  41. * 武器格子改变
  42. */
  43. public static WeaponCell:string="weaponCell";
  44. }