readInterest
readInterest(
world):InterestStatus
Whether this world culls by interest, and how far it reaches: on a page, what its room’s welcome said, with how many entities still wait to reach it; on a room’s world, its setting; on a game played alone, culling off. A game written for culling reads it to say what it can promise, such as a nearest-enemy scan within the radius alone.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
Returns
Section titled “Returns”Example
Section titled “Example”const interest = readInterest(world); const reach = interest.culling ? interest.radius : Infinity;