Entity.dead

Checks the dead/alive status of the entity.

  1. bool alive [@property getter]
  2. bool dead [@property getter]
    class Entity
    @property @safe
    bool
    dead
    ()

Examples

assert(entity.alive ^ entity.dead);

Meta