refactor: 规范化代码注释和更新核心模块 - 移除冗余JSDoc注释,统一代码风格

This commit is contained in:
YHH
2025-06-09 13:24:54 +08:00
parent e219fc47ba
commit 4095f1e946
7 changed files with 995 additions and 95 deletions

View File

@@ -3,6 +3,7 @@ import { Core } from '../../Core';
import { Matcher } from '../Utils/Matcher';
import { PerformanceMonitor } from '../../Utils/PerformanceMonitor';
import type { Scene } from '../Scene';
import type { ISystemBase } from '../../Types';
/**
* 实体系统的基类
@@ -27,7 +28,7 @@ import type { Scene } from '../Scene';
* }
* ```
*/
export abstract class EntitySystem {
export abstract class EntitySystem implements ISystemBase {
private _entities: Entity[] = [];
private _updateOrder: number = 0;
private _enabled: boolean = true;