Entity.shouldSee

Indicates which entities this one should and should not see. By default only the entities indicated as true by this function will be shown through the <a href="#Entity.show">show</a> function and added to the watchlist. For example, an arrow can see a painting, so Arrow.shouldSee(painting) will be true, but a painting shouldn't see an arrow, so Painting.shouldSee(arrow) will be false. This increases the performances as there are less controls, casts and operation on arrays in big worlds or chunks of worlds with an high concetration of entities.

class Entity
bool
shouldSee

Meta