Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
getStats
Method · 0.45
queryEntities
Method · 0.45
WorldManager.test.ts
File · 0.45
Calls
2
from
Method · 0.45
values
Method · 0.45
Tested by
no test coverage detected