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

Class TestSystem

packages/core/tests/Plugins/DebugPlugin.test.ts:23–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23@Injectable()
24@ECSSystem('TestSystem', { updateOrder: 10 })
25class TestSystem extends EntitySystem {
26 constructor() {
27 super(Matcher.empty().all(PositionComponent));
28 }
29
30 protected override process(entities: readonly import('../../src/ECS/Entity').Entity[]): void {
31 // 模拟处理逻辑
32 }
33}
34
35describe('DebugPlugin', () => {
36 let core: Core;

Callers

nothing calls this directly

Calls 2

InjectableFunction · 0.90
ECSSystemFunction · 0.90

Tested by

no test coverage detected