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

Method all

packages/core/src/ECS/Utils/Matcher.ts:47–50  ·  view source on GitHub ↗

* 创建匹配器,要求所有指定的组件 * @param types 组件类型

(...types: ComponentType[])

Source from the content-addressed store, hash-verified

45 * @param types 组件类型
46 */
47 public static all(...types: ComponentType[]): Matcher {
48 const matcher = new Matcher();
49 return matcher.all(...types);
50 }
51
52 /**
53 * 创建匹配器,要求至少一个指定的组件

Callers 15

constructorMethod · 0.45
executeEventMethod · 0.45
buildMatcherMethod · 0.45
constructorMethod · 0.45
processWithWorkerFunction · 0.45
deserializeMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45

Calls 1

pushMethod · 0.65

Tested by 15

constructorMethod · 0.36
constructorMethod · 0.36
constructorMethod · 0.36
constructorMethod · 0.36
constructorMethod · 0.36
constructorMethod · 0.36
constructorMethod · 0.36
constructorMethod · 0.36
constructorMethod · 0.36
constructorMethod · 0.36
constructorMethod · 0.36
constructorMethod · 0.36