Entity.watchlist

Gets a list of the entities that this entity can see.

class Entity
final @property @trusted
T[]
watchlist
(
T : Entity = Entity
)
()

Examples

// every entity
auto entities = entity.watchlist;

// every player
auto players = entity.watchlist!Player;

Meta