eg.ts 627 B

123456789101112131415161718192021222324
  1. import { AudioModel } from "../data/model/System/AudioModel";
  2. import EventMng from "../manager/EventMng";
  3. import { TsrpcNet } from "../network/TsrpcNet";
  4. import { PoolManager } from "./Pool/PoolManager";
  5. import FguiMgr from "./fgui/FguiMgr";
  6. export class eg {
  7. /**
  8. * 节点池管理
  9. */
  10. public static poolManager: PoolManager;
  11. /** fgui管理 */
  12. public static fGuiMgr: FguiMgr;
  13. /** 网络连接 */
  14. public static tspcNet: TsrpcNet;
  15. public static init() {
  16. this.poolManager = new PoolManager();
  17. this.fGuiMgr = FguiMgr.Instance;
  18. this.tspcNet = new TsrpcNet();
  19. }
  20. }