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

Function initializeECS

packages/core/src/ECS/Core/FluentAPI/ECSFluentAPI.ts:204–210  ·  view source on GitHub ↗
(
    scene: IScene,
    querySystem: QuerySystem,
    eventSystem: TypeSafeEventSystem
)

Source from the content-addressed store, hash-verified

202 * @param eventSystem 事件系统
203 */
204export function initializeECS(
205 scene: IScene,
206 querySystem: QuerySystem,
207 eventSystem: TypeSafeEventSystem
208): void {
209 ECS = createECSAPI(scene, querySystem, eventSystem);
210}

Callers

nothing calls this directly

Calls 1

createECSAPIFunction · 0.70

Tested by

no test coverage detected