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

Method isTracked

packages/core/src/ECS/Systems/EntityCache.ts:101–103  ·  view source on GitHub ↗

* 检查实体是否被跟踪 * * @param entity 要检查的实体

(entity: Entity)

Source from the content-addressed store, hash-verified

99 * @param entity 要检查的实体
100 */
101 public isTracked(entity: Entity): boolean {
102 return this._trackedEntities.has(entity);
103 }
104
105 /**
106 * 使持久缓存失效

Callers 3

isTrackingFunction · 0.80
updateEntityTrackingFunction · 0.80

Calls 1

hasMethod · 0.65

Tested by

no test coverage detected