App.js 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. var t = require;
  2. var e = module;
  3. var i = exports;
  4. Object.defineProperty(i, "__esModule", {value: !0});
  5. const s = t("ConfigManager"),
  6. o = t("GameDataMsr"),
  7. a = t("AnalyticMgr"),
  8. n = t("ControllerManager"),
  9. r = t("ViewManager"),
  10. l = t("ResManager"),
  11. h = t("ResRecycle"),
  12. c = t("SaveManage"),
  13. d = t("SceneManager"),
  14. u = t("SettingManager"),
  15. p = t("SoundManager"),
  16. f = t("Base64"),
  17. g = t("Color"),
  18. m = t("CommonUtils"),
  19. _ = t("DateUtils"),
  20. y = t("DebugUtils"),
  21. v = t("Http"),
  22. U = t("MathUtils"),
  23. Z = t("MessageCenter"),
  24. C = t("RandomUtils"),
  25. b = t("RedPointMgr"),
  26. S = t("ShockUtils"),
  27. T = t("StringUtil"),
  28. I = t("TimeManager");
  29. class w {
  30. static init() {
  31. w.isInit ||
  32. ((w.isInit = !0),
  33. (w.ObjectPool = new ObjectPool()),
  34. (w.MessageCenter = w.NotificationCenter = new Z.default(1)),
  35. (w.DateUtils = new _.DateUtils()),
  36. (w.CommonUtils = new m.CommonUtils()),
  37. (w.SaveManage = new c.default()),
  38. (w.MathUtils = new U.MathUtils()),
  39. (w.RandomUtils = new C.default()),
  40. (w.Http = new v.Http()),
  41. (w.TimerManager = new I.TimerManager()),
  42. (w.SoundManager = new p.default()),
  43. (w.SettingManager = new u.default()),
  44. (w.ResManager = new l.default()),
  45. (w.ControllerManager = new n.default()),
  46. (w.ViewManager = new r.default()),
  47. (w.ConfigManager = new s.ConfigManager()),
  48. (w.GameDataMsr = new o.GameDataMsr()),
  49. (w.SceneManager = new d.SceneManager()),
  50. (w.StringUtil = new T.StringUtil()),
  51. (w.Bass64 = new f.Base64()),
  52. (w.DebugUtils = new y.DebugUtils()),
  53. (w.RedPointMgr = new b.RedPointMgr()),
  54. (w.ResRecycle = new h.ResRecycle()),
  55. (w.AnalyticMgr = new a.default()),
  56. (w.ShockUtils = new S.default()),
  57. (w.Color = new g.Color()));
  58. }
  59. }
  60. (i.default = w),
  61. (w.isInit = !1),
  62. (w.ShockUtils = null),
  63. (w.AnalyticMgr = null),
  64. (w.ResRecycle = null),
  65. (w.EasyLoading = null),
  66. (w.Platform = null),
  67. (w.RedPointMgr = null),
  68. (w.DebugUtils = null),
  69. (w.ObjectPool = null),
  70. (w.SaveManage = null),
  71. (w.CommonUtils = null),
  72. (w.DateUtils = null),
  73. (w.MathUtils = null),
  74. (w.RandomUtils = null),
  75. (w.Http = null),
  76. (w.TimerManager = null),
  77. (w.NotificationCenter = null),
  78. (w.MessageCenter = null),
  79. (w.ResManager = null),
  80. (w.ControllerManager = null),
  81. (w.SoundManager = null),
  82. (w.ViewManager = null),
  83. (w.SettingManager = null),
  84. (w.ConfigManager = null),
  85. (w.GameDataMsr = null),
  86. (w.SceneManager = null),
  87. (w.NodePoolMsr = null),
  88. (w.StringUtil = null),
  89. (w.Bass64 = null),
  90. (w.Color = null),
  91. (window.App = w);