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

Method getWorld

packages/core/src/ECS/WorldManager.ts:140–142  ·  view source on GitHub ↗

* 获取World

(worldName: string)

Source from the content-addressed store, hash-verified

138 * 获取World
139 */
140 public getWorld(worldName: string): World | null {
141 return this._worlds.get(worldName) || null;
142 }
143
144 /**
145 * 获取所有World ID

Callers 3

initializeMethod · 0.45

Calls 1

getMethod · 0.65

Tested by

no test coverage detected