Entity.alive

Checks the dead/alive status of the entity.

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

Examples

assert(entity.alive ^ entity.dead);

Meta