GamePropertys.ts 896 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. }