/*
 * @Author: dgflash
 * @Date: 2021-11-18 14:20:46
 * @LastEditors: mojunshou 1637302775@qq.com
 * @LastEditTime: 2025-04-10 15:27:08
 */

import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS";
import { Account } from "../account/Account";
import { Game } from "../Game";
import { Initialize } from "../initialize/Initialize";

/** 游戏单例业务模块 */
@ecs.register('SingletonModule')
export class SingletonModuleComp extends ecs.Comp {
    /** 游戏初始化模块 */
    initialize: Initialize = null!;
    /** 游戏账号模块 */
    account: Account = null!;
    /**游戏数据模块*/
    game: Game = null!
    reset() { }
}

export var smc: SingletonModuleComp = ecs.getSingleton(SingletonModuleComp);