Skip to content

Home > @esengine/ecs-framework-monorepo > ProcessingSystem

ProcessingSystem class

处理系统抽象类 定义一个处理实体的抽象类,继承自EntitySystem类 子类需要实现processSystem方法,用于实现具体的处理逻辑

Signature:

typescript
export declare abstract class ProcessingSystem extends EntitySystem

Extends: EntitySystem

Constructors

Constructor

Modifiers

Description

(constructor)(matcher)

Constructs a new instance of the ProcessingSystem class

Methods

Method

Modifiers

Description

process(entities)

protected

处理实体,每帧调用processSystem方法进行处理

processSystem()

abstract

处理实体的具体方法,由子类实现

基于 MIT 许可证发布