This commit is contained in:
dgflash
2025-09-16 15:32:01 +08:00
parent 4dbf10bb77
commit 9b6a18a110

View File

@@ -13,7 +13,7 @@ import { CCVMParentComp } from "./CCVMParentComp";
export type ECSCtor<T extends ecs.Comp> = __private.__types_globals__Constructor<T> | __private.__types_globals__AbstractedConstructor<T>;
/** ECS 游戏模块实体 */
export class CCEntity extends ecs.Entity {
export abstract class CCEntity extends ecs.Entity {
/** 单例子实体 */
private singletons: Map<any, ECSEntity> = null!;