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

Method getAllWorlds

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

* 获取所有World

()

Source from the content-addressed store, hash-verified

152 * 获取所有World
153 */
154 public getAllWorlds(): World[] {
155 return Array.from(this._worlds.values());
156 }
157
158 /**
159 * 设置World激活状态

Callers 3

getStatsMethod · 0.45
queryEntitiesMethod · 0.45

Calls 2

fromMethod · 0.45
valuesMethod · 0.45

Tested by

no test coverage detected