mirror of
https://gitee.com/dgflash/oops-framework.git
synced 2026-05-13 05:15:49 +08:00
21 lines
547 B
TypeScript
21 lines
547 B
TypeScript
/*
|
|
* @Author: dgflash
|
|
* @Date: 2021-11-18 14:20:46
|
|
* @LastEditors: dgflash
|
|
* @LastEditTime: 2022-01-26 16:41:24
|
|
*/
|
|
|
|
import { ecs } from "../../../core/libs/ECS";
|
|
import { Account } from "../../account/Account";
|
|
import { Initialize } from "../../initialize/Initialize";
|
|
|
|
/** 游戏模块 */
|
|
@ecs.register('SingletonModule')
|
|
export class SingletonModuleComp extends ecs.Comp {
|
|
/** 游戏初始化模块 */
|
|
initialize: Initialize = null!;
|
|
/** 游戏账号模块 */
|
|
account: Account = null!;
|
|
|
|
reset() { }
|
|
} |