EntityManager.exists

Exists

Returns whether an entity exists in the scope

class EntityManager
@safe pure const
bool
exists
(
in size_t eid
)

Examples

world.manager.create();
world.entity.exists(0); // true

Meta