| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2"], function (_export, _context) {
- "use strict";
- var _reporterNs, _cclegacy, ecs, InitResComp, _dec, _class, _crd, Initialize;
- function _reportPossibleCrUseOfecs(extras) {
- _reporterNs.report("ecs", "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS", _context.meta, extras);
- }
- function _reportPossibleCrUseOfInitResComp(extras) {
- _reporterNs.report("InitResComp", "./bll/InitRes", _context.meta, extras);
- }
- return {
- setters: [function (_unresolved_) {
- _reporterNs = _unresolved_;
- }, function (_cc) {
- _cclegacy = _cc.cclegacy;
- }, function (_unresolved_2) {
- ecs = _unresolved_2.ecs;
- }, function (_unresolved_3) {
- InitResComp = _unresolved_3.InitResComp;
- }],
- execute: function () {
- _crd = true;
- _cclegacy._RF.push({}, "ffbceQs6Z9IoI5z6mt1avMw", "Initialize", undefined);
- /*
- * @Author: dgflash
- * @Date: 2021-11-11 17:45:23
- * @LastEditors: dgflash
- * @LastEditTime: 2022-08-03 10:07:14
- */
- /**
- * 游戏进入初始化模块
- * 1、热更新
- * 2、加载默认资源
- */
- _export("Initialize", Initialize = (_dec = (_crd && ecs === void 0 ? (_reportPossibleCrUseOfecs({
- error: Error()
- }), ecs) : ecs).register('Initialize'), _dec(_class = class Initialize extends (_crd && ecs === void 0 ? (_reportPossibleCrUseOfecs({
- error: Error()
- }), ecs) : ecs).Entity {
- init() {
- // 初始化游戏公共资源
- this.add(_crd && InitResComp === void 0 ? (_reportPossibleCrUseOfInitResComp({
- error: Error()
- }), InitResComp) : InitResComp);
- }
- }) || _class)); // export class EcsInitializeSystem extends ecs.System {
- // constructor() {
- // super();
- // this.add(new InitResSystem());
- // }
- // }
- _cclegacy._RF.pop();
- _crd = false;
- }
- };
- });
- //# sourceMappingURL=151ef7a135e0e64330bfccbfa38ae121cc1cf068.js.map
|