mirror of
https://gitee.com/dgflash/oops-framework.git
synced 2026-05-11 10:40:30 +08:00
22 lines
621 B
TypeScript
22 lines
621 B
TypeScript
/*
|
|
* @Author: dgflash
|
|
* @Date: 2021-07-03 16:13:17
|
|
* @LastEditors: dgflash
|
|
* @LastEditTime: 2022-02-25 09:49:22
|
|
*/
|
|
import { ecs } from "../../../core/libs/ecs/ECS";
|
|
import { EcsAccountSystem } from "../../account/Account";
|
|
import { EcsRoleSystem } from "../../role/Role";
|
|
import { EcsPositionSystem } from "./position/EcsPositionSystem";
|
|
|
|
/** 多模块系统组件注册 */
|
|
export class CommonSystem extends ecs.RootSystem {
|
|
constructor() {
|
|
super();
|
|
|
|
this.add(new EcsPositionSystem());
|
|
this.add(new EcsAccountSystem());
|
|
this.add(new EcsRoleSystem());
|
|
}
|
|
}
|