Entity.show

Adds an entity to the ones this entity can see.

class Entity
bool
show

Parameters

entity Entity

the entity that will be showed to this entity

Return Value

Type: bool

true if the entity has been added to the visible entities, false otherwise

Examples

foreach(Player player ; world.players) {
   player.show(entity);
   entity.show(player);
}

Meta