MCPcopy Create free account
hub / github.com/esengine/esengine / constructor

Method constructor

packages/engine-core/src/TransformSystem.ts:15–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13@ECSSystem('Transform', { updateOrder: -100 })
14export class TransformSystem extends EntitySystem {
15 constructor() {
16 super(Matcher.empty().all(TransformComponent));
17 }
18
19 protected override process(entities: readonly Entity[]): void {
20 // 获取所有根实体(没有父级或父级没有 TransformComponent)

Callers

nothing calls this directly

Calls 2

allMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected