Skip to content

ECS Framework API v2.1.50


ECS Framework API / ISystemBase

Interface: ISystemBase

Defined in: Types/index.ts:40

系统基础接口

为现有的EntitySystem类提供类型定义

Properties

systemName

readonly systemName: string

Defined in: Types/index.ts:42

系统名称


updateOrder

updateOrder: number

Defined in: Types/index.ts:44

更新顺序/优先级


enabled

enabled: boolean

Defined in: Types/index.ts:46

系统启用状态

Methods

initialize()

initialize(): void

Defined in: Types/index.ts:49

系统初始化

Returns

void


update()

update(): void

Defined in: Types/index.ts:51

更新系统(主要处理阶段)

Returns

void


lateUpdate()?

optional lateUpdate(): void

Defined in: Types/index.ts:53

延迟更新系统

Returns

void

Released under the MIT License.