Entity.sees

Checks wether this entity can see or not another entity.

class Entity
@safe @nogc
bool
sees

Examples

if(!player.sees(arrow)) {
   player.show(arrow);
}

Meta