Files
pixelheros/assets/script/game/hero/Aheros/Module-001.ts
walkpan bffbb9077e dd
2025-02-01 00:14:25 +08:00

35 lines
992 B
TypeScript

import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS";
/** Module_001 模块 */
@ecs.register(`Module_001`)
export class Module_001 extends ecs.Entity {
/** ---------- 数据层 ---------- */
// Module_001Model!: Module_001ModelComp;
/** ---------- 业务层 ---------- */
// Module_001Bll!: Module_001BllComp;
/** ---------- 视图层 ---------- */
// Module_001View!: Module_001ViewComp;
/** 实始添加的数据层组件 */
protected init() {
// this.addComponents<ecs.Comp>();
}
/** 模块资源释放 */
destroy() {
// 注: 自定义释放逻辑,视图层实现 ecs.IComp 接口的 ecs 组件需要手动释放
super.destroy();
}
}
/** Module_001 模块业务逻辑系统组件,如无业务逻辑处理可删除此对象 */
export class EcsModule_001System extends ecs.System {
constructor() {
super();
// this.add(new ecs.ComblockSystem());
}
}